UNPKG

@mobily/stacks

Version:

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

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