Guest User

Untitled

a guest
Oct 19th, 2018
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. import Vue from "vue";
  2.  
  3. import { storiesOf } from "@storybook/vue";
  4. import { action } from "@storybook/addon-actions";
  5. import DropZone from "./DropZone.vue";
  6.  
  7. Vue.component("DropZone", DropZone);
  8.  
  9. storiesOf("DropZone", module)
  10. .add("default", () => ({
  11. components: { DropZone },
  12. render() {
  13. return <DropZone on-click={action("clicked on dropzone")} />;
  14. }
  15. }));
Add Comment
Please, Sign In to add comment