import React from 'react'; import { SizingProp, StylesProp, SpacingProp, VerticalsAlignProps, HorizontalsAlignProps, PaddingProp, SizeProps, ScrollProp, StyleProp, ClassNameProp, TagProps, CrossAxisAlignProp } from '../common'; /** * Props that can be specified at * - root of `Responsive` * - and overridden for `vertical`/`horizontal` modes */ export interface ResponsiveOverridableProps extends ScrollProp, PaddingProp, SizeProps, SizingProp, SpacingProp, CrossAxisAlignProp { } export interface BreakpointProp { /** * windowWidth <= breakpoint : it is vertical (mobile) * else : it is horizontal (desktop) **/ breakpoint?: number; } /** * Props for Vertical mode */ export interface ResponsiveVerticalModeProps extends VerticalsAlignProps, StylesProp, ResponsiveOverridableProps { } /** * Props for Horizontal mode */ export interface ResponsiveHorizontalModeProps extends HorizontalsAlignProps, StylesProp, ResponsiveOverridableProps { } export interface ResponsiveModesProps { /** Vertical mode configuration */ vertical?: ResponsiveVerticalModeProps; /** Horizontal mode configuration */ horizontal?: ResponsiveHorizontalModeProps; } /** * Props that can only be specified at the root of the `Responsive` */ export interface ResponsiveRootOnlyProps extends StylesProp, StyleProp, ClassNameProp, TagProps, BreakpointProp { } /** * Props for the Responsive component */ export interface ResponsiveProps extends ResponsiveRootOnlyProps, ResponsiveModesProps, ResponsiveOverridableProps { } /** * Layout out children * - vertically till breakpoint * - horizontally above breakpoint */ export declare const Responsive: React.ForwardRefExoticComponent & React.RefAttributes>; //# sourceMappingURL=responsive.d.ts.map