From dd609f77590ee8f9f05f72fdf92702d557d3056b Mon Sep 17 00:00:00 2001 From: Denys Pavlenko Date: Fri, 10 Apr 2020 00:12:47 +0300 Subject: [PATCH] add types to pass array for spacing --- 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;