@theme-ui/components
Version:
Primitive layout, typographic, and other components for use with Theme UI.
14 lines (13 loc) • 497 B
TypeScript
import React from 'react';
import { BoxOwnProps } from "./Box.js";
import type { Assign, ForwardRef } from "./types.js";
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>;