UNPKG

welcome-ui

Version:

Customizable design system with react • styled-components • styled-system and ariakit.

13 lines (12 loc) 595 B
import { default as React } from 'react'; import { LabelOptions } from '../Label'; import { CreateWuiProps } from '../System'; import { DefaultFieldStylesProps } from '../../utils/field-styles'; export type RadioOptions = DefaultFieldStylesProps & { hint?: string; label?: string; onChange?: (event: React.MouseEvent<HTMLLabelElement>) => void; onClick?: (event: React.MouseEvent<HTMLLabelElement>) => void; }; export type RadioProps = CreateWuiProps<'input', LabelOptions & RadioOptions>; export declare const Radio: import('../System').CreateWuiComponent<"input", RadioProps>;