Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
Size: Mime:
"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});

const tslib_1 = require("tslib");

const react_1 = tslib_1.__importDefault(require("react"));

const styled_1 = require("./styled");

class ProductRatings extends react_1.default.PureComponent {
  render() {
    return react_1.default.createElement(styled_1.RenderWrapper, {
      className: this.props.className
    }, react_1.default.createElement(styled_1.RatingsElement, {
      rating: this.props.rating,
      shouldShowCount: this.props.shouldShowCount,
      starFill: this.props.starFill,
      countPosition: this.props.countPosition
    }));
  }

}

ProductRatings.defaultProps = {
  className: ''
};
exports.ProductRatings = ProductRatings;
exports.default = ProductRatings;