"use client" import { forwardRef } from "react" import { type HTMLChakraProps, type SystemStyleObject, chakra, } 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 const Flex = forwardRef( function Flex(props, ref) { const { direction, align, justify, wrap, basis, grow, shrink, inline, ...rest } = props return ( ) }, )