chore: support presets for InputGroup and ToggleGroup

This commit is contained in:
Benjamin Canac
2021-12-08 18:04:29 +01:00
parent 1755aa8529
commit fb78162aa5
5 changed files with 92 additions and 40 deletions

View File

@@ -110,6 +110,14 @@ const defaultProps = {
Input: {
name: 'input'
},
InputGroup: {
name: 'input',
label: 'Input group'
},
ToggleGroup: {
name: 'input',
label: 'Toggle group'
},
Checkbox: {
name: 'checkbox'
},

View File

@@ -101,6 +101,13 @@ const components = [
nuxt3: true,
capi: true
},
{
label: 'ToggleGroup',
to: '/components/ToggleGroup',
nuxt3: true,
capi: true,
preset: true
},
{
label: 'Alert',
to: '/components/Alert'
@@ -117,7 +124,10 @@ const components = [
},
{
label: 'InputGroup',
to: '/components/InputGroup'
to: '/components/InputGroup',
nuxt3: true,
capi: true,
preset: true
},
{
label: 'Radio',