import { ReactElement, ReactNode } from 'react'; import { SizeType } from '../../@types/input'; import { ColorName } from '../../context/theme/types'; import { SxProps } from '../../lib/styleDictionary'; import { StyleProp, ViewStyle } from 'react-native'; import { ShapeInput } from '../Input/types'; export type NumberStringValue = string | number; export interface RadioProps { activeColor?: ColorName; inactiveColor?: ColorName; isActive?: boolean; label: ReactNode; onPress?: (value: NumberStringValue) => void; size?: SizeType; type?: ShapeInput; value: NumberStringValue; sx?: SxProps & { root?: SxProps; container?: SxProps; animationWrapper?: SxProps; toggle?: SxProps; text?: SxProps; }; styles?: { root?: StyleProp; container?: StyleProp; animationWrapper?: StyleProp; toggle?: StyleProp; text?: StyleProp; }; } type AlignType = 'horizontal' | 'vertical'; export interface RadioGroupProps { activeColor?: ColorName; align?: AlignType; children?: ReactElement | ReactElement[]; inactiveColor?: ColorName; defaultValue?: NumberStringValue; error?: boolean; onChange?: (key: NumberStringValue) => void; helperText?: string; value?: NumberStringValue; size?: SizeType; type?: ShapeInput; style?: StyleProp; styles?: { root?: StyleProp; container?: StyleProp; helperText?: StyleProp; }; sx?: SxProps & { root?: SxProps; container?: SxProps; helperText?: SxProps; }; } export {}; //# sourceMappingURL=types.d.ts.map