import type { PressableProps, StyleProp, TextStyle, ViewStyle } from 'react-native'; import type { LabelPosition } from '../Label/types'; export type Size = number | 'small' | 'medium' | 'large'; export interface RadioProps extends PressableProps { disabled?: boolean; label?: string; labelPosition?: LabelPosition; labelStyle?: StyleProp; onChange?: (value: T) => void; radioContainerStyle?: StyleProp; radioDotStyle?: StyleProp; size?: Size; selected?: boolean; value: T; } export type RadioDimensions = Pick; export interface RadioStyles { container?: ViewStyle; disabled?: ViewStyle; pressed?: ViewStyle; radioContainer?: ViewStyle; radioContainerLarge?: RadioDimensions; radioContainerMedium?: RadioDimensions; radioContainerSmall?: RadioDimensions; radioDot?: ViewStyle; radioDotLarge?: RadioDimensions; radioDotMedium?: RadioDimensions; radioDotSmall?: RadioDimensions; }