import { ReactElement } from 'react'; import { NativeSyntheticEvent, StyleProp, ViewStyle } from 'react-native'; import { Modifiers, NativeModifiersProp } from '../../utils/modifiers'; export type NativeListProps = { children?: React.ReactNode; modifiers?: NativeModifiersProp; style?: StyleProp; onEvent?: (e: NativeSyntheticEvent<{ [key: string]: any; }>) => void; }; export type ListProps = { style?: StyleProp; children?: React.ReactNode | ReactElement[]; } & Modifiers;