From 601bbbc43b9d148300cfcea9efb16792be122a9a Mon Sep 17 00:00:00 2001 From: Denys Pavlenko Date: Sat, 11 Apr 2020 00:10:30 +0300 Subject: [PATCH] [theme] Fix types to pass array for spacing (#20486) --- packages/material-ui/src/styles/createSpacing.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/material-ui/src/styles/createSpacing.d.ts b/packages/material-ui/src/styles/createSpacing.d.ts index 5d1db8658aad23..ab73efaa7013d0 100644 --- a/packages/material-ui/src/styles/createSpacing.d.ts +++ b/packages/material-ui/src/styles/createSpacing.d.ts @@ -15,6 +15,6 @@ export interface Spacing { ): string; } -export type SpacingOptions = number | ((factor: number) => string | number); +export type SpacingOptions = number | ((factor: number) => string | number) | number[]; export default function createSpacing(spacing: SpacingOptions): Spacing;