UNPKG

shelving

Version:

Toolkit for using data in JavaScript.

10 lines (9 loc) 629 B
/** Resolved `.layout` class — for components that want to compose the layout's padding/scroll/safe-area behaviour onto their own element (e.g. `CenteredLayout`). */ export declare const LAYOUT_CLASS: string | undefined; /** * Adapt the property to the dynamic height of the view port when the keyboard pops up. * - This dynamically updates the value we use as the "safe area" * * @todo This can be removed once Safari iOS supports interactive-widget viewport property. https://caniuse.com/mdn-html_elements_meta_name_viewport_interactive-widget */ export declare function useSafeKeyboardArea(): (() => void) | undefined;