@theme-ui/components
Version:
Primitive layout, typographic, and other components for use with Theme UI.
10 lines (9 loc) • 334 B
TypeScript
import { BoxOwnProps, BoxProps } from "./Box.js";
import { ForwardRef } from "./types.js";
export type FlexOwnProps = BoxOwnProps;
export type FlexProps = BoxProps;
/**
* Use the Flex component to create flexbox layouts.
* @see https://theme-ui.com/components/flex
*/
export declare const Flex: ForwardRef<HTMLElement, FlexProps>;