UNPKG

665 BTypeScriptView Raw
1import { type HTMLChakraProps, type SystemStyleObject } from "../../styled-system";
2export interface FlexOptions {
3 align?: SystemStyleObject["alignItems"];
4 justify?: SystemStyleObject["justifyContent"];
5 wrap?: SystemStyleObject["flexWrap"];
6 direction?: SystemStyleObject["flexDirection"];
7 basis?: SystemStyleObject["flexBasis"];
8 grow?: SystemStyleObject["flexGrow"];
9 shrink?: SystemStyleObject["flexShrink"];
10 inline?: boolean;
11}
12export interface FlexProps extends HTMLChakraProps<"div", FlexOptions> {
13}
14export declare const Flex: import("react").ForwardRefExoticComponent<FlexProps & import("react").RefAttributes<HTMLDivElement>>;