import { StyledProp } from '@codeleap/styles' import { RadioInputComposition } from './styles' import { InputBaseProps } from '../InputBase' import { ViewStyle } from 'react-native' import { SelectableField } from '@codeleap/form' import { Options } from '@codeleap/types' type RadioOption = { value: T label: string disabled?: boolean } export type RadioGroupProps = Omit & { radioOnRight?: boolean style?: StyledProp field?: SelectableField options?: Options value?: T onValueChange?: (value: T) => void } export type RadioOptionProps = { item: RadioOption selected: boolean onSelect(): void debugName?: string disabled?: boolean separator?: boolean reverseOrder?: boolean styles?: Record }