"use strict";

exports.__esModule = true;
exports.default = exports.Base = void 0;

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

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

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

var _default = {
  title: 'Design System/SHARED COMPONENT/DateTimeAgo',
  component: _index.default,
  argTypes: {
    date: {
      control: {
        type: 'date'
      },
      description: 'Date',
      table: {
        defaultValue: {
          summary: new Date()
        }
      }
    },
    live: {
      control: {
        type: 'boolean'
      },
      description: 'Live update',
      table: {
        defaultValue: {
          summary: true
        }
      }
    }
  }
};
exports.default = _default;

const Template = args => /*#__PURE__*/_react.default.createElement(_index.default, args);

const Base = Template.bind({});
exports.Base = Base;
Base.args = {
  date: new Date(),
  live: true
};