Guaxu Docs
    Preparing search index...

    Interface CheckboxProps

    interface CheckboxProps {
        children: ReactNode;
        isChecked: boolean;
        isDisabled?: boolean;
        name?: string;
        onClick: (isChecked: boolean) => void;
    }
    Index

    Properties

    children: ReactNode

    The content to be displayed next to the checkbox

    isChecked: boolean

    Whether the input is checked

    isDisabled?: boolean

    Whether the checkbox is disabled

    name?: string

    The name attribute of the checkbox input. Useful for form submissions.

    onClick: (isChecked: boolean) => void

    A callback function that is called when the checkbox is clicked