import React from "react"; import { storiesOf } from "@storybook/react"; import DraftSettings from "."; const props = { triggerAction: (type, data) => console.log(`Action of type ${type} triggered, data passed is`, data), updateValue: (type, data) => console.log(`Update ${type} with new value`, data), gist: { settings: { options: {} } }, languages: { de: "German", en: "English", es: "Spanish", fr: "French", nl: "Dutch" }, language: "en" }; storiesOf("DraftSettings", module) .add("Simon metric", () => ( )) .add("Trayvon imperial", () => ( ));