forked from thomasbertet/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSubheaderView.vue
executable file
·36 lines (35 loc) · 1.11 KB
/
SubheaderView.vue
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<template lang="pug">
component-view(v-bind:doc="doc")
</template>
<script>
export default {
data () {
return {
doc: {
component: 'subheader',
edit: 'SubheaderView',
title: 'Subheaders',
desc: 'The <code>v-subheader</code> component is used to separate sections of lists.',
examples: [
{ header: 'List subheaders', file: 'subheaders/1', desc: 'Subheaders work great with lists for describing the information below.' },
{ header: 'Grid subheaders', file: 'subheaders/2', desc: 'A subheader can add context to what a user is looking at.' },
{ header: 'Menu subheaders', file: 'subheaders/3', desc: 'Using a subheader can help separate different types of actions.' }
],
props: {
'v-subheader': {
shared: ['theme'],
params: [
[
'inset',
'Boolean',
'False',
'Adds identation (72px)'
]
]
}
}
}
}
}
}
</script>