"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var React = require("react");
var react_1 = require("@storybook/react");
var storybook_chrome_screenshot_1 = require("storybook-chrome-screenshot");
var with_readme_1 = require("storybook-readme/with-readme");
var __1 = require("../../");
var Mermaid_1 = require("../../extra/Mermaid");
var Mermaid_md_1 = require("../README/Mermaid.md");
var source = "\ngraph TD;\n    A-->B;\n    A-->C;\n    B-->D;\n    C-->D;\n";
react_1.storiesOf('Extra/Mermaid', module)
    .addDecorator(with_readme_1.default(Mermaid_md_1.default))
    .addDecorator(storybook_chrome_screenshot_1.withScreenshot())
    .add('Standard', function () {
    return (React.createElement(__1.Provider, null,
        React.createElement(__1.Box, { m: 3 },
            React.createElement(Mermaid_1.Mermaid, { value: source }))));
});
