Skip to content

Commit

Permalink
documentation(#285): Update Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianWendelborn committed Sep 13, 2020
1 parent eec3cad commit 555b285
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions packages/vue-props-validators/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,10 @@ import { vuePropsValidators } from '@3yourmind/vue-props-validators'
export default defineComponent {
props: vuePropsValidators.create({
example: {
nullable: true,
required: true,
type: 'enum',
default: () => 'world',
nullable: false,
type: vuePropsValidators.Type.ENUM,
options: ['hello', 'world']
}
}
}
Expand Down

0 comments on commit 555b285

Please sign in to comment.