components/field
@fungi.computer/caps / components/field
components/field
Section titled “components/field”Type Aliases
Section titled “Type Aliases”FieldProps
Section titled “FieldProps”FieldProps =
object&HTMLAttributes<HTMLDivElement>>
Props accepted by Field.
Type Declaration
Section titled “Type Declaration”children
Section titled “children”children:
ReactNode
description?
Section titled “description?”
optionaldescription?:ReactNode
error?
Section titled “error?”
optionalerror?:ReactNode
label?
Section titled “label?”
optionallabel?:ReactNode
orientation?
Section titled “orientation?”
optionalorientation?:"horizontal"|"vertical"
required?
Section titled “required?”
optionalrequired?:boolean
Variables
Section titled “Variables”
constField:ForwardRefExoticComponent<object&HTMLAttributes<HTMLDivElement> > &RefAttributes<HTMLDivElement>>>>
A labelled form-field layout that renders caller-provided control and supporting content.
Functions
Section titled “Functions”FieldError()
Section titled “FieldError()”FieldError(
__namedParameters):Element
An announced error that takes no space when absent and collapses smoothly.
Parameters
Section titled “Parameters”__namedParameters
Section titled “__namedParameters”HTMLAttributes<HTMLDivElement>
Returns
Section titled “Returns”Element
FormFooter()
Section titled “FormFooter()”FormFooter(
__namedParameters):Element
A form’s stationary action area, separate from its scrolling content.
Parameters
Section titled “Parameters”__namedParameters
Section titled “__namedParameters”HTMLAttributes<HTMLElement> & object
Returns
Section titled “Returns”Element