UNPKG

@nutui/nutui-react

Version:

京东风格的轻量级移动端 React 组件库,支持一套代码生成 H5 和小程序

14 lines (13 loc) 635 B
import { default as React } from 'react'; import { RadioGroupDirection, RadioGroupOption, RadioGroupPosition, RadioGroupShape } from './types'; export interface RadioGroupProps { value?: string | number; defaultValue?: string | number; labelPosition: RadioGroupPosition; direction: RadioGroupDirection; shape?: RadioGroupShape; disabled?: boolean; options: RadioGroupOption[]; onChange: (value: string | number) => void; } export declare const RadioGroup: React.ForwardRefExoticComponent<Partial<RadioGroupProps> & Omit<React.HTMLAttributes<HTMLDivElement>, "onChange"> & React.RefAttributes<unknown>>;