Skip to content

Commit

Permalink
feat: errorMessage + release
Browse files Browse the repository at this point in the history
  • Loading branch information
TroyV999 committed Sep 13, 2024
1 parent f06c9c2 commit 0e22b36
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/former/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "former-ui",
"version": "0.0.11-next.31",
"version": "0.0.11-next.36",
"repository": {
"type": "git",
"url": "git+https://github.com/geprog/former.git"
Expand Down
3 changes: 2 additions & 1 deletion packages/former/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ export type SchemaNode<Props = { [key: string]: any }> = {
name?: string;
props?: Props;
children?: SchemaNode<Props>[];
if?: string;
showIf?: string;
errorMessage?: true | string;
};

export type InternalSchemaNode<Props = { [key: string]: any }> = Omit<SchemaNode<Props>, 'children'> & {
Expand Down

0 comments on commit 0e22b36

Please sign in to comment.