import _isNil from "lodash/fp/isNil";
import React from 'react';
import PropTypes from 'prop-types';
import Life from '../../../../../atom/life';
import style from './lives.css';
const Lives = ({
  count
}, context) => {
  if (_isNil(count)) {
    return null;
  }
  return /*#__PURE__*/React.createElement("div", {
    className: style.wrapper
  }, /*#__PURE__*/React.createElement(Life, {
    count: count,
    className: style.life,
    mode: "small"
  }));
};
Lives.propTypes = process.env.NODE_ENV !== "production" ? {
  count: PropTypes.number
} : {};
export default Lives;
//# sourceMappingURL=lives.js.map