UNPKG

@procore/core-react

Version:
9 lines (8 loc) 419 B
import * as React from 'react'; import type { FlexProps } from './Flex.types'; /** * `Flex` is a wrapper around `Box` defaulting to display flex CSS * and providing shorter prop names (e.g. `shrink` instead of `flexShrink`). * `Box` can mimic anything `Flex` can. */ export declare const Flex: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & FlexProps & React.RefAttributes<HTMLDivElement>>;