react-bottom-fixed
Version:
A React component for iOS that keeps your bottom-positioned elements fixed and safely visible, automatically adjusting their positions when viewport changes (e.g., virtual keyboard appearance).
11 lines (10 loc) • 343 B
TypeScript
/**
* Check if the code is running on the server
* @returns true if the code is running on the server, false otherwise
*/
export declare const isServer: () => boolean;
/**
* Check if the code is running on the client
* @returns true if the code is running on the client, false otherwise
*/
export declare const isBrowser: () => boolean;