Home > @uniformdev/design-system > InputToggleProps

InputToggleProps type

Signature:

type InputToggleProps = React$1.InputHTMLAttributes<HTMLInputElement> & {
    label: React$1.ReactNode;
    type: 'radio' | 'checkbox';
    name: string;
    showLabel?: boolean;
    disabled?: boolean;
    checked?: boolean;
    caption?: string | JSX.Element;
    errorMessage?: string;
    warningMessage?: string;
    fontWeight?: FontWeightProps;
    testId?: string;
};