import React from "react"; import { FieldGroupContextValue } from "../FieldGroup"; import { Theme } from "../theme"; export interface RadioButtonProps extends React.InputHTMLAttributes, FieldGroupContextValue { /** * 子要素は文字列である必要があります。 */ children: string; checkedValue?: string; checked?: never; /** * テーマカラーを指定できます。 */ color?: keyof Theme["palette"]["intentions"]; onClick?: (event: React.MouseEvent) => void; /** * 値を指定してください。 */ value: string; className?: string; style?: React.CSSProperties; /** * アンコントロールにする場合はRadioButtonにdefaultCheckedを渡し、RadioButtonGroupにvalueを渡さないようにしてください。 */ defaultChecked?: boolean; } export declare const RadioButton: React.ForwardRefExoticComponent>;