Skip to content

Commit

Permalink
update type using
Browse files Browse the repository at this point in the history
  • Loading branch information
pasyukevich committed Nov 8, 2023
1 parent 55556f7 commit abe189c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/FormHelpMessage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import Text from './Text';

type FormHelpMessageProps = {
/** Error or hint text. Ignored when children is not empty */
message?: string | ErrorsList;
message?: string | [string, ErrorsList];

/** Children to render next to dot indicator */
children?: React.ReactNode;
Expand Down

0 comments on commit abe189c

Please sign in to comment.