import React from 'react'; import Box from '../../primitives/Box'; import type { IFormControlProps } from './types'; export const FormControlContext = React.createContext({}); const FormControl = ( { children, isInvalid, isRequired, isDisabled, isReadOnly, ...props }: IFormControlProps, ref: any ) => { return ( {children} ); }; export default React.memo(React.forwardRef(FormControl));