UNPKG

@mobily/stacks

Version:

⚡ A set of useful components to help you build and maintain React Native (Web too) layouts with ease.

12 lines (11 loc) 754 B
import { ScaledSize, StyleProp, ViewStyle } from 'react-native'; import type { context as Context } from './Stacks_types.gen'; import type { resolveResponsiveProp as ResolveResponsiveProp } from './Stacks_types.gen'; import type { spacingHelpers as SpacingHelpers } from './Stacks_types.gen'; export declare const useWindowDimensions: () => ScaledSize; export declare const useStacks: () => Context; export declare const useSpacing: (__x: null | undefined | number) => number; export declare const useSpacingHelpers: () => SpacingHelpers; export declare const useCurrentBreakpoint: () => string; export declare const useDebugStyle: () => null | undefined | StyleProp<ViewStyle>; export declare const useResponsiveProp: <a>() => ResolveResponsiveProp<a>;