Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import Vue from "vue";
- import { storiesOf } from "@storybook/vue";
- import { action } from "@storybook/addon-actions";
- import DropZone from "./DropZone.vue";
- Vue.component("DropZone", DropZone);
- storiesOf("DropZone", module)
- .add("default", () => ({
- components: { DropZone },
- render() {
- return <DropZone on-click={action("clicked on dropzone")} />;
- }
- }));
Add Comment
Please, Sign In to add comment