Skip to content

Commit

Permalink
[theme] Describe what each argument of theme.spacing affects (mui#19962)
Browse files Browse the repository at this point in the history
  • Loading branch information
eps1lon authored and EsoterikStare committed Mar 30, 2020
1 parent 55109f4 commit 5aa70ae
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 5aa70ae

Please sign in to comment.