import React from "react";
import { storiesOf } from "@storybook/react";
import { action } from "@storybook/addon-actions";
import TransformPage from "./";
storiesOf("TransformPage", module).add("Basic", function () {
  return /*#__PURE__*/React.createElement(TransformPage, {
    isDesktop: false,
    dataset: {
      interface: {
        type: "image_segmentation",
        labels: ["valid", "invalid"],
        regionTypesAllowed: ["bounding-box", "polygon", "point"]
      },
      samples: [{
        imageUrl: "https://s3.amazonaws.com/asset.workaround.online/example-jobs/sticky-notes/image1.jpg"
      }, {
        imageUrl: "https://s3.amazonaws.com/asset.workaround.online/example-jobs/sticky-notes/image2.jpg"
      }]
    },
    onChangeDataset: action("onChangeDataset")
  });
});