UNPKG

reverie-ui

Version:

A React UI library based on Tailwind CSS

10 lines (9 loc) 391 B
import React, { ReactNode } from 'react'; import { CommonControlProps } from '../../types'; export interface RadioProps extends CommonControlProps<HTMLInputElement> { value: boolean; onChange?: (val: boolean) => void; children?: ReactNode; } declare const Radio: React.ForwardRefExoticComponent<RadioProps & React.RefAttributes<HTMLInputElement>>; export default Radio;