Skip to content

Commit

Permalink
docs: Fix recipies code consistency (#554)
Browse files Browse the repository at this point in the history
  • Loading branch information
CarlosLozanoHealthCaters authored Aug 21, 2023
1 parent 5f1b3ce commit fc435ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/recipes.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,11 +109,11 @@ import { schema, types } from 'papr';

const exampleSchema = schema(
{
switch: types.boolean({ required: true }),
hidden: types.boolean({ required: true }),
},
{
defaults: {
switch: false,
hidden: false,
},
}
);
Expand Down

0 comments on commit fc435ef

Please sign in to comment.