Sha256: f659fc0f2338abf49d2def5135cbf1d00087943e7524614055a72aa852790775
Contents?: true
Size: 618 Bytes
Versions: 11
Compression:
Stored size: 618 Bytes
Contents
import React from 'react'; import PropTypes from 'prop-types'; import { translate as __ } from 'foremanReact/common/I18n'; import SCCGenericExpander from '../SCCGenericExpander'; const SCCProductTreeExpander = ({ setExpandAllInParent }) => ( <SCCGenericExpander setInParent={setExpandAllInParent} selectOptionOpen={__('Expand products')} selectOptionClose={__('Collapse products')} initLabel={__('Collapse/Expand')} /> ); SCCProductTreeExpander.propTypes = { setExpandAllInParent: PropTypes.func.isRequired, }; SCCProductTreeExpander.defaultProps = {}; export default SCCProductTreeExpander;
Version data entries
11 entries across 11 versions & 1 rubygems