• Returns {
        disable: ((...args: []) => void);
        enable: ((...args: []) => void);
    }

    • disable: ((...args: []) => void)
        • (...args: []): void
        • Returns a function that will run the callback that was passed when calling this hook. Useful for accessing Recoil state in response to events.

          Parameters

          • Rest ...args: []

          Returns void

    • enable: ((...args: []) => void)
        • (...args: []): void
        • Returns a function that will run the callback that was passed when calling this hook. Useful for accessing Recoil state in response to events.

          Parameters

          • Rest ...args: []

          Returns void

Generated using TypeDoc