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