Skip to content

Commit e0c6845

Browse files
committed
Playground: Add demo for const
1 parent f09985e commit e0c6845

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

docs/src/demos.js

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -455,6 +455,19 @@ const DEMOS = [
455455
)
456456

457457
},
458+
459+
{
460+
name: 'Constants',
461+
slug: 'const',
462+
schema: {
463+
type: 'object',
464+
title: 'Person',
465+
properties: {
466+
species: {const: 'Homo Sapiens'},
467+
name: {type: 'string'}
468+
},
469+
},
470+
},
458471
];
459472

460473

0 commit comments

Comments
 (0)