Toggle theme
Message can be used to display either helpful descriptions or error messages in combination with forms where the default description
and errorMessage
props are not sufficient due to e.g. position.
It is used by <TextInput>
, <TextArea>
and <SelectInput>
internally.
Name | Description | Type | Default Value |
---|---|---|---|
children | The message text that is displayed | string | n/a |
id | string | n/a | |
type | Sets the type of the message, e.g. an error is displayed in red with an error icon | enum('error','description') | 'default' |