Skip to content

Commit decd1bb

Browse files
committed
Introduce EditorWithLayout
1 parent 553bb43 commit decd1bb

File tree

2 files changed

+29
-0
lines changed

2 files changed

+29
-0
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
import EditorWithLayout from "../editor-with-layout";
2+
3+
import type {Meta, StoryObj} from "@storybook/react";
4+
5+
type Story = StoryObj<typeof EditorWithLayout>;
6+
7+
const meta: Meta<typeof EditorWithLayout> = {
8+
title: "PerseusEditor/EditorWithLayout",
9+
component: EditorWithLayout,
10+
};
11+
12+
export const Default: Story = {
13+
args: {},
14+
};
15+
16+
export default meta;
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
import * as React from "react";
2+
3+
import type {APIOptions} from "@khanacademy/perseus";
4+
5+
type Props = {
6+
apiOptions: APIOptions;
7+
};
8+
9+
function EditorWithLayout(props: Props) {
10+
return <div>A very nice editor, indeed!</div>;
11+
}
12+
13+
export default EditorWithLayout;

0 commit comments

Comments
 (0)