UNPKG

@uiw/react-native

Version:
23 lines (22 loc) 638 B
/// <reference types="react" /> import { ViewProps, Animated, GestureResponderEvent } from 'react-native'; export interface RadioProps extends ViewProps { checked?: boolean; disabled?: boolean; circleSize?: number; color?: string; checkedColor?: string; borderColor?: string; thumbSize?: number; onPress?: (event: GestureResponderEvent) => void; } export interface RadioState { sizeValue: Animated.Value; checked?: boolean; control: 'state' | 'props'; } declare function Radio(props: RadioProps): JSX.Element; declare namespace Radio { var defaultProps: RadioProps; } export default Radio;