@uiw/react-native
Version:
UIW for React Native
23 lines (22 loc) • 639 B
TypeScript
import React from '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): React.JSX.Element;
declare namespace Radio {
var defaultProps: RadioProps;
}
export default Radio;