@anton.bobrov/react-vevet-hooks
Version:
A collection of custom React hooks designed to seamlessly integrate with the `Vevet` library
16 lines • 426 B
TypeScript
/**
* Custom React hook that checks if the current viewport breakpoint is 'tablet'.
*
* @example
* const MyComponent = () => {
* const isTablet = useIsViewportTablet();
*
* return (
* <div>
* {isTablet ? 'Viewport is of tablet size.' : 'Not tablet.'}
* </div>
* );
* };
*/
export declare function useIsViewportTablet(): boolean;
//# sourceMappingURL=useIsViewportTablet.d.ts.map