[styled-system] add object type to breakpoints

This commit is contained in:
gretzky
2019-01-31 10:17:48 -05:00
parent b0e7a55053
commit b1ffb3b01f
+1 -1
View File
@@ -103,7 +103,7 @@ export function variant(props: VariantArgs): (...args: any[]) => any
export type ObjectOrArray<T> = T[] | { [K: string]: T }
export interface BaseTheme {
breakpoints?: string[]
breakpoints?: string[] | Object
colors?: ObjectOrArray<CSS.ColorProperty>
fontSizes?: number[]
space?: number[]