- Preparing search index...
- The search index is not available
@fold-dev/core
- useToggle(isOn?): {
on: boolean;
toggle: (() => void);
turnOff: (() => void);
turnOn: (() => void);
}
-
Returns {
on: boolean;
toggle: (() => void);
turnOff: (() => void);
turnOn: (() => void);
}
-
on: boolean
-
toggle: (() => void)
-
turnOff: (() => void)
-
turnOn: (() => void)
Not documented - appears not be used