import React from "react"; import { ManagedClasses, RadioClassNameContract } from "@microsoft/fast-components-class-name-contracts-base"; export interface RadioHandledProps extends RadioManagedClasses { /** * Unique Id */ inputId: string; /** * The checked state */ checked?: boolean; /** * The disabled state */ disabled?: boolean; /** * The name of the input */ name?: string; /** * The onChange event */ onChange?: React.ChangeEventHandler; /** * The radio label */ label?: (className: string) => React.ReactNode; /** * The radio aria-label * This is necessary due to how unhandledProps are passed to the root of the component */ ariaLabel?: string; /** * The value of the radio */ value?: string; } export declare type RadioUnhandledProps = Omit, "aria-label">; /** * @deprecated */ export declare type RadioOnChange = (event?: React.ChangeEvent) => void; export declare type RadioManagedClasses = ManagedClasses; export declare type RadioProps = RadioHandledProps & RadioUnhandledProps;