UNPKG

carbon-components

Version:

Carbon Components is a component library for IBM Cloud

47 lines (43 loc) 697 B
'use strict'; const filterOptions = [ { id: 'filter-option-1', value: 'filter-option-1', label: 'Filter option 1', }, { id: 'filter-option-2', value: 'filter-option-2', label: 'Filter option 2', }, { id: 'filter-option-3', value: 'filter-option-3', label: 'Filter option 3', }, ]; const rowHeightOptions = [ { id: 'short-rows', value: 'short', label: 'Short', selected: true, }, { id: 'tall-rows', value: 'tall', label: 'Tall', }, ]; module.exports = { variants: [ { name: 'default', label: 'Toolbar', context: { filterOptions, rowHeightOptions, }, }, ], };