import * as React from 'react'; type Props = { /** * If `true`, the component is disabled */ disabled?: boolean; /** * If you want to use the Radio as a controlled component, * need to pass onchange function */ checked?: boolean; /** * Event handler for change, required if you want to use the Radio as a controlled component */ onChange?: (e: React.ChangeEvent) => void; /** * The value name of the Radio */ name?: string; /** * Label of the Radio */ children?: React.ReactNode; }; type NativeProps = Omit, keyof Props>; export type RadioProps = NativeProps & Props; export {};