import React from 'react'; import { BoxProps } from '../Box'; export declare type FlexProps = Omit & { /** An alias for `flexDirection` */ direction?: BoxProps['flexDirection']; /** An alias for `justifyContent` */ justify?: BoxProps['justifyContent']; /** An alias for `alignItems` */ align?: BoxProps['alignItems']; /** An alias for `flexWrap` */ wrap?: BoxProps['flexWrap']; /** An alias for `flexBasis` style prop */ basis?: BoxProps['flexBasis']; /** An alias for `flexGrow` style prop */ grow?: BoxProps['flexGrow']; /** An alias for `flexShrink` style prop */ shrink?: BoxProps['flexShrink']; /** Whether the flex should be `flex-inline` */ inline?: boolean; /** The gap between the flex items */ spacing?: BoxProps['margin']; }; /** * Extends Box * * Responsive flexbox layout component. You should use this anytime you want a flex container or * wrapper around a certain layout */ export declare const Flex: React.ForwardRefExoticComponent & React.RefAttributes>; export default Flex;