UNPKG

react-native-theme-flow

Version:
12 lines (7 loc) 312 B
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 };