import { StyleProp, TextProps, ViewStyle } from 'react-native'; import { TextRoleNucleonProps } from './useTextRoleNucleon'; export interface SelectorProps { selectedValue: V; onSelectedValueChange: (v: V) => void; } export type SelectorItem = { value: V; label?: string; }; export interface SelectorListProps extends SelectorProps { readonly items: ReadonlyArray> | ReadonlyArray; } export type PropsWithStyle

= { style?: StyleProp; } & P; export type PropsWithStringChild = Omit< Target, 'children' > & { children: string }; export type RefProps = Omit & { name: T; };