@procore/core-react
Version:
React library of Procore Design Guidelines
9 lines (8 loc) • 488 B
TypeScript
import React from 'react';
import type { FlexListProps } from './FlexList.types';
/**
* `FlexList` combines `Flex` and `Box`, **each child element is wrapped in a `Box`**
* having a margin (leading and trailing space removed). This isolates the
* children React components from the `display: flex` on direct children in CSS.
*/
export declare const FlexList: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & FlexListProps & React.RefAttributes<HTMLDivElement>>;