import React, { FC } from 'react'; import { SemanticWIDTHS } from '../../utilities/SemanticUtils'; import { LabelProps } from '../Label'; export interface FormFieldPropsStrict { /** Adds one or more classnames for an element */ className?: string; /** Adds one or more classnames to the control element */ controlClassName?: string; /** Set the wrapping element's type to render as (string or function). */ control?: any; /** Individual fields may be disabled. */ disabled?: boolean; /** Set the wrapping element's tagname */ el?: any; /** Individual fields may display an error state. */ error?: boolean | React.ReactElement | string; /** Adds additional help to the input */ description?: React.ReactElement | string; /** Displays the describes the form element */ label?: LabelProps['children']; /** Property options for the label */ labelProps?: LabelProps; required?: boolean; /** Set Form Field to be specific widths */ width?: SemanticWIDTHS; } export interface FormFieldProps extends FormFieldPropsStrict { /** Unstrict Props */ [propName: string]: any; } export declare const FormField: FC;