UNPKG

@atlaskit/form

Version:

A form allows people to input information.

10 lines (9 loc) • 367 B
import { type StatusMessageProps } from './message'; /** * __Error message__ * * An error message is used to tell a user that the field input is invalid. For example, an error message could be * 'Invalid username, needs to be more than 4 characters'. * */ export declare const ErrorMessage: ({ children, iconLabel, testId }: StatusMessageProps) => JSX.Element;