"use strict";

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

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

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

var _core = require("@selfcommunity/core");

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

// More on default export: https://storybook.js.org/docs/react/writing-stories/introduction#default-export
var _default = {
  title: 'Design System/SC UI/ContributorsFeedObject',
  component: _index.default,
  argTypes: {
    feedObjectId: {
      control: {
        type: 'number'
      },
      description: 'FeedObject Id',
      table: {
        defaultValue: {
          summary: 17
        }
      }
    },
    feedObjectType: {
      options: [_core.SCFeedObjectTypologyType.POST, _core.SCFeedObjectTypologyType.DISCUSSION, _core.SCFeedObjectTypologyType.STATUS],
      control: {
        type: 'select'
      },
      description: 'Object type. Used only with args id.'
    }
  },
  args: {
    feedObjectId: 17,
    feedObjectType: _core.SCFeedObjectTypologyType.DISCUSSION
  } // More on argTypes: https://storybook.js.org/docs/react/api/argtypes

}; // More on component templates: https://storybook.js.org/docs/react/writing-stories/introduction#using-args

exports.default = _default;

const Template = args => /*#__PURE__*/_react.default.createElement("div", {
  style: {
    width: 800
  }
}, /*#__PURE__*/_react.default.createElement(_index.default, args));

const Preview = Template.bind({});
exports.Preview = Preview;
Preview.args = {};