Skip to content

useDropInEnabled

function useDropInEnabled(): boolean;

true inside a normal provider, false inside <DropInProvider enabled={false}>. Throws when there is no provider at all (same convention as every other hook).

boolean