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

children?: ReactNode
error: boolean

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

id: string

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

length?: number

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

maxLength?: number

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

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