@procore/core-react
Version:
React library of Procore Design Guidelines
9 lines (8 loc) • 419 B
TypeScript
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>>;