react-native-theme-flow
Version:
react native style sheet with theme
12 lines (7 loc) • 312 B
text/typescript
import type { ImageStyle, TextStyle, ViewStyle } from 'react-native';
export type NestedObject = {
[key: string | symbol]: any | NestedObject;
};
export type ValueOrFactory<T, C> = T | ((input: C) => T);
export type RNStyle = ViewStyle | TextStyle | ImageStyle;
export type WithId<T> = T & { id: string };