@chakra-ui/react
Version:
Responsive and accessible React UI components built with React and Emotion
15 lines (14 loc) • 665 B
TypeScript
import { type HTMLChakraProps, type SystemStyleObject } from "../../styled-system";
export interface FlexOptions {
align?: SystemStyleObject["alignItems"];
justify?: SystemStyleObject["justifyContent"];
wrap?: SystemStyleObject["flexWrap"];
direction?: SystemStyleObject["flexDirection"];
basis?: SystemStyleObject["flexBasis"];
grow?: SystemStyleObject["flexGrow"];
shrink?: SystemStyleObject["flexShrink"];
inline?: boolean;
}
export interface FlexProps extends HTMLChakraProps<"div", FlexOptions> {
}
export declare const Flex: import("react").ForwardRefExoticComponent<FlexProps & import("react").RefAttributes<HTMLDivElement>>;