UNPKG

@react-form-fields/native-base

Version:

Native Base Form Fields

17 lines (16 loc) 674 B
import { PropsResolver } from '@react-form-fields/core/interfaces/props'; import { NativeBase } from 'native-base'; import * as React from 'react'; import { IFlowIndexProp } from './hooks/useFieldFlow'; export interface IFieldRadioProps extends PropsResolver<NativeBase.Radio, 'status' | 'mask'>, IFlowIndexProp { label?: React.ReactNode; value: string | number; radioValue: string | number; onChange: (radioValue: any) => void; helperText?: string; extraPadding?: boolean; marginBottom?: boolean; disabled?: boolean; } declare const FieldRadio: React.MemoExoticComponent<(props: IFieldRadioProps) => JSX.Element>; export default FieldRadio;