import React, { memo, forwardRef } from 'react'; import Box from '../Box'; import type { IFlexProps } from './types'; import { usePropsResolution } from '../../../hooks/useThemeProps'; const Flex = ( { style, align, justify, wrap, basis, grow, shrink, direction, ...props }: IFlexProps, ref: any ) => { const newProps = usePropsResolution('Flex', props); return ( ); }; //Spacer Component that adds space between components where it is placed export const Spacer = (props: any) => { return ; }; export type { IFlexProps }; export default memo(forwardRef(Flex));