@gluestack-ui/utils
Version:
Utility functions and hooks for gluestack-ui
8 lines • 309 B
TypeScript
type QueryKeys = 'maxWidth' | 'minWidth' | 'maxHeight' | 'minHeight' | 'orientation';
type SubQuery = {
[queryKey in QueryKeys]?: number | string;
};
type Query = Array<SubQuery>;
export declare function useMediaQuery(query: SubQuery | Query): boolean[];
export {};
//# sourceMappingURL=index.web.d.ts.map