chore(Pills): refactor component

This commit is contained in:
Benjamin Canac
2022-02-23 12:38:58 +01:00
parent c3facb1fef
commit 0d98d44045
4 changed files with 68 additions and 62 deletions

View File

@@ -290,6 +290,22 @@ const defaultProps = {
label: 'Tabs',
to: '/components/Tabs'
}]
},
Pills: {
links: [{
label: 'Usage',
to: '/',
exact: true
}, {
label: 'Examples',
to: '/examples'
}, {
label: 'Migration',
to: '/migration'
}, {
label: 'Pills',
to: '/components/Pills'
}]
}
}

View File

@@ -186,10 +186,6 @@ const components = [
preset: true,
capi: true
},
{
label: 'Pills',
to: '/components/Pills'
},
{
label: 'Tabs',
to: '/components/Tabs',
@@ -197,6 +193,13 @@ const components = [
capi: true,
preset: true
},
{
label: 'Pills',
to: '/components/Pills',
nuxt3: true,
capi: true,
preset: true
},
{
label: 'VerticalNavigation',
to: '/components/VerticalNavigation',