UNPKG

oadp-material

Version:
16 lines (15 loc) 560 B
import * as React from 'react'; import './index.scss'; import { RadioValue, RadioValueItem } from '@alifd/next/types/radio/types'; export interface OadpRadioGroupProps { name?: string; dataSource?: Array<RadioValue> | Array<RadioValueItem>; defaultValue?: string | number | boolean | RadioValue; label?: React.ReactNode; size?: 'large' | 'medium' | 'small'; shape?: 'normal' | 'button'; direction?: 'hoz' | 'ver'; disabled?: boolean; } declare const OadpRadioGroup: React.FC<OadpRadioGroupProps>; export default OadpRadioGroup;