Skip to content

Commit

Permalink
[theme] Describe what each argument of theme.spacing affects (#19962)
Browse files Browse the repository at this point in the history
  • Loading branch information
eps1lon authored Mar 3, 2020
1 parent 751f88e commit f943898
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions packages/material-ui/src/styles/createSpacing.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ export type SpacingArgument = number;

export interface Spacing {
(): number;
(value1: SpacingArgument): number;
(value1: SpacingArgument, value2: SpacingArgument): string;
(value1: SpacingArgument, value2: SpacingArgument, value3: SpacingArgument): string;
(value: SpacingArgument): number;
(topBottom: SpacingArgument, rightLeft: SpacingArgument): string;
(top: SpacingArgument, rightLeft: SpacingArgument, bottom: SpacingArgument): string;
(
value1: SpacingArgument,
value2: SpacingArgument,
value3: SpacingArgument,
value4: SpacingArgument,
top: SpacingArgument,
right: SpacingArgument,
bottom: SpacingArgument,
left: SpacingArgument,
): string;
}

Expand Down

0 comments on commit f943898

Please sign in to comment.