import * as React from "react";
import { action } from "@storybook/addon-actions";
// import { withKnobs, text, boolean, select } from "@storybook/addon-knobs";
import { InlineControls, InlineControlButton } from "./";
import RichEditor from "./RichEditor";
export default {
title: "Modules|Editor/RichEditor",
component: RichEditor,
subcomponents: { InlineControls, InlineControlButton },
};
export const Default: any = () => (
action("Clicked")}>This is an action!
);
Default.story = {
parameters: {
jest: ["RichEditor"],
},
};
export const InlineControlsComponent: any = () => (
action("Clicked")}>This is an action!
);
InlineControlsComponent.story = {
parameters: {
jest: ["InlineControls/InlineControls.test.ts"],
},
};
export const InlineControlButtonComponent: any = () => (
action("Clicked")}>This is an action!
);
InlineControlButtonComponent.story = {
parameters: {
jest: ["InlineControlButton/InlineControlButton.test.ts"],
},
};