Sha256: 550f0530b31d4b119784ad733a2c5e0c58d117e6876a29419b56060bc59b9c7f
Contents?: true
Size: 611 Bytes
Versions: 58
Compression:
Stored size: 611 Bytes
Contents
import React from 'react'; import PropTypes from 'prop-types'; import { translate as __, sprintf } from 'foremanReact/common/I18n'; const SelectedStatus = ({ selectedCount, totalCount }) => ( <div className="pf-c-dual-list-selector__status"> <span className="pf-c-dual-list-selector__status-text"> {sprintf(__('%(selectedCount)s of %(totalCount)s items selected'), { selectedCount, totalCount, })} </span> </div> ); SelectedStatus.propTypes = { selectedCount: PropTypes.number.isRequired, totalCount: PropTypes.number.isRequired, }; export default SelectedStatus;
Version data entries
58 entries across 58 versions & 1 rubygems