UNPKG

@chakra-ui/react

Version:

Responsive and accessible React UI components built with React and Emotion

15 lines (14 loc) 761 B
import { type HTMLChakraProps, type SystemStyleObject } from "../../styled-system"; export interface FlexOptions { align?: SystemStyleObject["alignItems"] | undefined; justify?: SystemStyleObject["justifyContent"] | undefined; wrap?: SystemStyleObject["flexWrap"] | undefined; direction?: SystemStyleObject["flexDirection"] | undefined; basis?: SystemStyleObject["flexBasis"] | undefined; grow?: SystemStyleObject["flexGrow"] | undefined; shrink?: SystemStyleObject["flexShrink"] | undefined; inline?: boolean | undefined; } export interface FlexProps extends HTMLChakraProps<"div", FlexOptions> { } export declare const Flex: import("react").ForwardRefExoticComponent<FlexProps & import("react").RefAttributes<HTMLDivElement>>;