import { BoxProps, ChakraComponent, ChakraProps } from '@chakra-ui/react'; import { default as React, FormHTMLAttributes } from 'react'; import { GridGaps } from '../Grid/SimpleGrid'; interface FormBaseProps extends Pick { /** Optional spacing size; if omitted, the default `large` (2rem / 32px) * spacing will be used; ```IMPORTANT: for general form layout, this prop * should not be used``` */ gap?: GridGaps; } export interface FormChildProps extends Partial { } export interface FormProps extends FormBaseProps, Omit, "color"> { } /** FormRow child-component */ export declare const FormRow: ChakraComponent & React.RefAttributes>, FormChildProps>; /** FormField child-component */ export declare const FormField: ChakraComponent & React.RefAttributes>, FormChildProps>; /** * The `Form` component renders a standard `
` element and should be used * to handle layout and spacing for child input fields. `FormRow` and `FormField` * components should be used to build the `` structure and to arrange input * fields as needed. */ export declare const Form: ChakraComponent & React.RefAttributes>, React.PropsWithChildren>; export default Form;