Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ProvidedFormMessageProps

All the props that will be generated and return from the useTextField hook that should be passed to a FormMessage component.

remarks

@since 2.5.0

Hierarchy

Index

Properties

Optional children

children: ReactNode

error

error: boolean

Boolean if the text field should gain the error state and update the colors.

id

id: string

The id for the message container element. This is required for accessibility.

Optional length

length: number

The current length of the value in the related text field.

Optional maxLength

maxLength: number

The max length allowed for the value in the related text field.

Optional theme

theme: FormTheme

The current theme for the related text field. This is really only used to match the current horizontal padding of the text field.

Generated using TypeDoc