UNPKG

@rws-aoa/react-library

Version:

RWS AOA Design System

26 lines 784 B
import { RadioProps as MUIRadioButtonProps } from '@mui/material'; export interface AoaRadioButtonProps extends MUIRadioButtonProps { /** * Whether this radio button is checked */ readonly checked: boolean; /** * Data-qa tag for E2E test purposes */ readonly 'data-qa'?: string; /** * The label that is shown after the radio button */ readonly label: string; } /** * Constructs a radio button using pre-defined Rijks styling * * @param props - Props to pass to the radio button * @example * ```jsx * <AoaRadioButton label="Demo radio button" />} /> * ``` */ export declare function AoaRadioButton({ label, ...props }: AoaRadioButtonProps): import("react/jsx-runtime").JSX.Element; //# sourceMappingURL=RadioButton.d.ts.map