docs(palimpsest): add static side nav with components

This commit is contained in:
Eric Liu 2020-01-11 18:37:51 -08:00
commit 88ee01184b
22 changed files with 718 additions and 165 deletions

View file

@ -0,0 +1,40 @@
<script>
import { ComponentAPI } from '../../Component';
const props = [
{
name: 'type',
type: 'string',
required: true,
value: ['inline', 'single', 'multi'],
defaultValue: { value: 'single' },
description: `
<div>
<strong>Inline</strong> An inline <code>CodeSnippet</code> contains
</div>
`
},
{
name: 'light',
type: 'boolean',
required: false,
value: [],
defaultValue: { value: false },
description: `
<div>Light variant</div>
`
},
{
name: 'code',
type: 'string',
required: true,
value: [],
defaultValue: { value: undefined },
description: `
<div>Light variant</div>
`
}
];
</script>
<ComponentAPI {props} />