Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | /** * Collapse Buttons show one or many buttons with Children and Sub-Children * Buttons are drawn in row of three * Children are drawn also in row of three and the sub-children are drawn in line separated by comma * * @memberOf VISIONS * @name CollapseButtons * @tag component * @api public * @props * CollapseButtons.propTypes = { * items: PropTypes.arrayOf( * PropTypes.shape({ * id: PropTypes.string, * label: PropTypes.oneOfType([PropTypes.string, PropTypes.element]), * values: PropTypes.arrayOf( * PropTypes.shape({ * id: PropTypes.string, * label: PropTypes.oneOfType([PropTypes.string, PropTypes.element]), * subtopics: PropTypes.arrayOf(PropTypes.string), * }), * ), * }), * ), * action: PropTypes.func, * nbColumns: PropTypes.number, * };, * @theme * 'hover item in collapse': { * backgroundColor: * R.path(['palette', 'tertiary', 'light'])(theme) || theme.palette.secondary.light, * }, * */ export { default } from './CollapseButtons'; |