2019-04-29 09:01:51 +02:00
|
|
|
import React from "react";
|
|
|
|
import { storiesOf } from "@storybook/react";
|
|
|
|
import Workbench from ".";
|
|
|
|
import freesewing from "@freesewing/core";
|
2019-04-29 10:43:45 +02:00
|
|
|
import aaron, { config } from "@freesewing/aaron";
|
2019-04-29 09:01:51 +02:00
|
|
|
|
|
|
|
const props = {
|
|
|
|
freesewing,
|
|
|
|
pattern: aaron,
|
2019-04-29 10:43:45 +02:00
|
|
|
config: config
|
2019-04-29 09:01:51 +02:00
|
|
|
};
|
2019-04-29 10:43:45 +02:00
|
|
|
|
|
|
|
console.log("story", config, props);
|
2019-04-29 09:01:51 +02:00
|
|
|
storiesOf("Workbench", module).add("Aaron", () => <Workbench {...props} />);
|