@gravity-ui/uikit
Version:
Gravity UI base styling and components
14 lines (13 loc) • 539 B
TypeScript
import * as React from 'react';
import type { ControlLabelSize } from "../ControlLabel/index.js";
import type { ControlProps, DOMProps, QAProps } from "../types.js";
import "./Radio.css";
export type RadioSize = ControlLabelSize;
export interface RadioProps extends ControlProps, DOMProps, QAProps {
value: string;
size?: RadioSize;
content?: React.ReactNode;
children?: React.ReactNode;
title?: string;
}
export declare const Radio: React.ForwardRefExoticComponent<RadioProps & React.RefAttributes<HTMLLabelElement>>;