import React from "react";
import useVanilla from "./use-vanilla";
import { storiesOf } from "@storybook/react";

var useVanillaImageClassification = function useVanillaImageClassification() {
  useVanilla("udt", {
    interface: {
      type: "image_classification",
      labels: ["A", "B"]
    },
    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"
    }]
  });
};

storiesOf("Vanilla Image Classification", module).add("Layout 1", function () {
  useVanillaImageClassification();
  return /*#__PURE__*/React.createElement("div", null, "you must be running the vanilla dev server for these examples to work", /*#__PURE__*/React.createElement("script", {
    src: "http://localhost:1234/index.js"
  }), /*#__PURE__*/React.createElement("div", {
    id: "udt"
  }));
}).add("Layout 2", function () {
  useVanillaImageClassification();
  return /*#__PURE__*/React.createElement("div", null, "you must be running the vanilla dev server for these examples to work", /*#__PURE__*/React.createElement("script", {
    src: "http://localhost:1234/index.js"
  }), /*#__PURE__*/React.createElement("div", {
    style: {
      padding: 200,
      backgroundColor: "#000"
    }
  }, /*#__PURE__*/React.createElement("div", {
    style: {
      backgroundColor: "#fff"
    }
  }, /*#__PURE__*/React.createElement("div", {
    id: "udt"
  }))));
}).add("Layout 3", function () {
  useVanillaImageClassification();
  return /*#__PURE__*/React.createElement("div", null, "you must be running the vanilla dev server for these examples to work", /*#__PURE__*/React.createElement("script", {
    src: "http://localhost:1234/index.js"
  }), /*#__PURE__*/React.createElement("div", {
    style: {
      padding: 200,
      backgroundColor: "#000"
    }
  }, /*#__PURE__*/React.createElement("div", {
    style: {
      height: 1000,
      backgroundColor: "#fff"
    },
    id: "udt"
  })));
});