import React__default from 'react';
import { StyledLabelWrapper, StyledLabel, StyledLabelContent } from '../../Progress.styles.js';

var LabelWrapper = function LabelWrapper(_ref) {
  var labelIcon = _ref.labelIcon,
    _ref$labelTextPlaceme = _ref.labelTextPlacement,
    labelTextPlacement = _ref$labelTextPlaceme === void 0 ? 'right' : _ref$labelTextPlaceme,
    label = _ref.label;
  return /*#__PURE__*/React__default.createElement(StyledLabelWrapper, null, labelTextPlacement === 'left' && label && /*#__PURE__*/React__default.createElement(StyledLabel, null, label), labelIcon && /*#__PURE__*/React__default.createElement(StyledLabelContent, null, labelIcon), labelTextPlacement === 'right' && label && /*#__PURE__*/React__default.createElement(StyledLabel, null, label));
};

export { LabelWrapper };
