UNPKG

carbon-components

Version:

Carbon Components is a component library for IBM Cloud

31 lines (29 loc) 712 B
'use strict'; var items = [{ label: 'First section', target: '.demo--panel--opt-1', selected: true }, { label: 'Second section', target: '.demo--panel--opt-2' }, { label: 'Third section', target: '.demo--panel--opt-3' }]; module.exports = { variants: [{ name: 'default', label: 'Content Switcher', notes: '\n The Content Switcher component manipulates the content shown following an exclusive or \u201Ceither/or\u201D pattern.\n Create Switch components for each section in the content switcher.\n ', context: { items: items } }, { name: 'with-icon', label: 'With icon', context: { hasIcon: true, items: items } }] };