"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.RoundToWhole = exports.Normal = exports["default"] = void 0;

var _react = _interopRequireDefault(require("react"));

var _index = require("./index");

var _percentFormatter = _interopRequireDefault(require("./percent-formatter.mdx"));

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }

var _default = {
  title: 'Components/Typography/PercentFormatter',
  component: _index.PercentFormatter,
  parameters: {
    docs: {
      page: _percentFormatter["default"]
    }
  }
};
exports["default"] = _default;

var Normal = function Normal() {
  return /*#__PURE__*/_react["default"].createElement(_index.PercentFormatter, {
    value: 0.4161
  });
};

exports.Normal = Normal;

var RoundToWhole = function RoundToWhole() {
  return /*#__PURE__*/_react["default"].createElement(_index.PercentFormatter, {
    value: 0.4161,
    minimumFractionDigits: 0,
    maximumFractionDigits: 0
  });
};

exports.RoundToWhole = RoundToWhole;