@gitlab/ui
Version:
GitLab UI Components
61 lines (58 loc) • 2.1 kB
JavaScript
import FormCheckboxChecked from './form_checkbox.checked.example';
import FormCheckboxUnchecked from './form_checkbox.unchecked.example';
import FormCheckboxDisabled from './form_checkbox.disabled.example';
import FormCheckboxCheckedDisabled from './form_checkbox.checked_disabled.example';
import FormCheckboxValues from './form_checkbox.values.example';
import FormCheckboxIndeterminate from './form_checkbox.indeterminant.example';
import FormCheckboxHelp from './form_checkbox.help.example';
import FormCheckboxGroupSlots from './form_checkbox_group.slots.example';
import FormCheckboxGroupStacked from './form_checkbox_group.stacked.example';
import FormCheckboxGroupOptionsArray from './form_checkbox_group.options_array.example';
var index = [{
name: 'Checkbox',
items: [{
id: 'form-checkbox-checked',
name: 'Checked Form Checkbox',
component: FormCheckboxChecked
}, {
id: 'form-checkbox-unchecked',
name: 'Unchecked Form Checkbox',
component: FormCheckboxUnchecked
}, {
id: 'form-checkbox-disabled',
name: 'Disabled Form Checkbox',
component: FormCheckboxDisabled
}, {
id: 'form-checkbox-model',
name: 'Checked and Disabled Form Checkbox',
component: FormCheckboxCheckedDisabled
}, {
id: 'form-checkbox-values',
name: 'Custom Values for Form Checkbox',
component: FormCheckboxValues
}, {
id: 'form-checkbox-indeterminate',
name: 'Indeterminate State of Form Checkbox',
component: FormCheckboxIndeterminate
}, {
id: 'form-checkbox-help',
name: 'Form Checkbox with Help Text',
component: FormCheckboxHelp
}]
}, {
name: 'Checkbox Group',
items: [{
id: 'form-checkbox-group-slots',
name: 'Form Checkbox Group using Slots',
component: FormCheckboxGroupSlots
}, {
id: 'form-checkbox-group-stacked',
name: 'Form Checkbox Group using stacked',
component: FormCheckboxGroupStacked
}, {
id: 'form-checkbox-group-options-array',
name: 'Form Checkbox Group using Options Array',
component: FormCheckboxGroupOptionsArray
}]
}];
export default index;