@theme-ui/components
Version:
Primitive layout, typographic, and other components for use with Theme UI.
14 lines (13 loc) • 491 B
TypeScript
import React from 'react';
import { BoxOwnProps } from './Box';
import type { Assign, ForwardRef } from './types';
export interface RadioProps extends Assign<React.ComponentPropsWithRef<'input'>, BoxOwnProps> {
}
/**
* Form radio input component
*
* Radio variants can be defined in `theme.forms` and the
* component uses the `theme.forms.radio variant` by default.
* @see https://theme-ui.com/components/radio/
*/
export declare const Radio: ForwardRef<HTMLInputElement, RadioProps>;