Function useToggle

  • Not documented - appears not be used

    Parameters

    • isOn: boolean = false

    Returns {
        on: boolean;
        toggle: (() => void);
        turnOff: (() => void);
        turnOn: (() => void);
    }

    • on: boolean
    • toggle: (() => void)
        • (): void
        • Returns void

    • turnOff: (() => void)
        • (): void
        • Returns void

    • turnOn: (() => void)
        • (): void
        • Returns void

Generated using TypeDoc