welcome-ui
Version:
Customizable design system with react, typescript, tailwindcss and ariakit.
11 lines (10 loc) • 419 B
TypeScript
import { ScreenSizes } from '../theme/types';
type Screens = Record<ScreenSizes, number>;
/**
* A custom hook to retrieve the screen sizes defined in the theme tokens.
* @returns An object containing the screen sizes defined in the theme tokens,
* with keys as screen names and absolute values.
* Only supports number values (e.g. no 'rem', '%', etc.).
*/
export declare function useScreens(): Screens;
export {};