"use strict";
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
  for (var name in all)
    __defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
  if (from && typeof from === "object" || typeof from === "function") {
    for (let key of __getOwnPropNames(from))
      if (!__hasOwnProp.call(to, key) && key !== except)
        __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
  }
  return to;
};
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
var NetworkItem_stories_exports = {};
__export(NetworkItem_stories_exports, {
  Default: () => Default,
  NetworkItemWithLeftElement: () => NetworkItemWithLeftElement,
  NetworkItemWithRightElement: () => NetworkItemWithRightElement,
  TestNetworkItem: () => TestNetworkItem,
  default: () => NetworkItem_stories_default
});
module.exports = __toCommonJS(NetworkItem_stories_exports);
var import_NetworkItem = require("./NetworkItem");
var import_test = require("@storybook/test");
var import_sharedStoryBook = require("../sharedStoryBook");
const meta = {
  component: import_NetworkItem.NetworkItem,
  title: "PreLdls/Components/NetworkItem",
  tags: ["autodocs"],
  args: {
    name: "Bitcoin",
    id: "bitcoin",
    ticker: "btc"
  }
};
var NetworkItem_stories_default = meta;
const Default = {};
const TestNetworkItem = {
  play: async ({ canvasElement }) => {
    const canvas = (0, import_test.within)(canvasElement);
    const name = canvas.getByText("Bitcoin");
    await (0, import_test.expect)(name).toBeInTheDocument();
  }
};
const NetworkItemWithLeftElement = {
  args: {
    name: "Bitcoin",
    id: "bitcoin",
    ticker: "btc",
    leftElement: import_sharedStoryBook.leftElement
  }
};
const NetworkItemWithRightElement = {
  args: {
    name: "Bitcoin",
    id: "bitcoin",
    ticker: "btc",
    rightElement: (0, import_sharedStoryBook.createRightElement)(true)
  }
};
//# sourceMappingURL=NetworkItem.stories.js.map
