"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = exports.WithFourTagChips = exports.OnlyLabel = exports.Emoji = exports.BothIconAndLabel = void 0;
var _react = _interopRequireDefault(require("react"));
var _ = require("../..");
var _TagChip = require("./TagChip");
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
var meta = {
  component: _TagChip.TagChip,
  title: 'Molecules / TagChip'
};
var _default = exports.default = meta;
var Template = function Template(args) {
  return _react.default.createElement("div", {
    style: {
      padding: '10px',
      backgroundColor: 'white'
    }
  }, _react.default.createElement(_TagChip.TagChip, args));
};
var OnlyLabel = exports.OnlyLabel = {
  render: Template,
  args: {
    label: 'Default'
  }
};
var BothIconAndLabel = exports.BothIconAndLabel = {
  render: Template,
  args: {
    icon: _react.default.createElement(_.Icon.MonthlySavings16, null),
    label: 'Default'
  }
};
var Emoji = exports.Emoji = function Emoji() {
  return _react.default.createElement(_.Card, null, _react.default.createElement(_.Box, {
    p: 3
  }, _react.default.createElement(_TagChip.TagChip, {
    label: "Title",
    icon: "\uD83D\uDE0D"
  })));
};
var WithFourTagChips = exports.WithFourTagChips = function WithFourTagChips() {
  return _react.default.createElement(_.Card, null, _react.default.createElement(_.Box, {
    p: 2
  }, _react.default.createElement(_.Flexbox, {
    container: true,
    gap: 1
  }, _react.default.createElement(_TagChip.TagChip, {
    label: "label"
  }), _react.default.createElement(_TagChip.TagChip, {
    label: "\uD83C\uDF3B label"
  }), " ", _react.default.createElement(_TagChip.TagChip, {
    icon: _react.default.createElement(_.Icon.MonthlySavings16, null),
    label: "label"
  }), ' ', _react.default.createElement(_TagChip.TagChip, {
    label: "emoji as an icon",
    icon: "\uD83D\uDE0D"
  }))));
};