Skip to content

Commit

Permalink
[system] Fix createSpacing return type (mui#41318)
Browse files Browse the repository at this point in the history
  • Loading branch information
matystroia authored Mar 1, 2024
1 parent 4a8bc5b commit 2511261
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/mui-system/src/createTheme/createSpacing.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export type SpacingArgument = number | string;
// We express the difference with variable names.
export interface Spacing {
(): string;
(value: number): string;
(value: SpacingArgument): string;
(topBottom: SpacingArgument, rightLeft: SpacingArgument): string;
(top: SpacingArgument, rightLeft: SpacingArgument, bottom: SpacingArgument): string;
(
Expand Down

0 comments on commit 2511261

Please sign in to comment.