We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f9dcc53 commit 368655eCopy full SHA for 368655e
packages/stylesheet/src/types.ts
@@ -454,7 +454,7 @@ export type Style = BaseStyle & MediaQueryStyle;
454
interface RecursiveArray<T>
455
extends Array<T | ReadonlyArray<T> | RecursiveArray<T>> { };
456
457
-export type StyleProp<T> = RecursiveArray<T | undefined>;
+export type StyleProp<T> = T | RecursiveArray<T | undefined>;
458
459
export type StyleKey = keyof BaseStyle;
460
0 commit comments