semantic-ui-react
Version:
The official Semantic-UI-React integration.
22 lines (15 loc) • 544 B
TypeScript
import * as React from 'react'
import { StrictCheckboxProps } from '../../modules/Checkbox'
export interface RadioProps extends StrictRadioProps {
[key: string]: any
}
export interface StrictRadioProps extends StrictCheckboxProps {
/** Format to emphasize the current selection state. */
slider?: boolean
/** Format to show an on or off choice. */
toggle?: boolean
/** HTML input type, either checkbox or radio. */
type?: 'checkbox' | 'radio'
}
declare const Radio: React.StatelessComponent<RadioProps>
export default Radio