Entracte (TypeScript)
    Preparing search index...
    type CheckboxRowProps = {
        disabled?: boolean;
        label: ReactNode;
        onChange: (next: boolean) => void;
        onlyOn?: Platform[];
        tip?: string;
        tipWarn?: boolean;
        value: boolean;
    }
    Index

    Properties

    disabled?: boolean

    Grey out and block the control — used for a dependency on another setting (e.g. a per-break toggle that needs its master switch on).

    label: ReactNode
    onChange: (next: boolean) => void
    onlyOn?: Platform[]

    Restrict the control to these platforms; on others it renders disabled with a suffix.

    tip?: string
    tipWarn?: boolean

    Render the tip as a warning (caution glyph + styling) instead of plain info.

    value: boolean