File tree Expand file tree Collapse file tree 2 files changed +29
-0
lines changed
packages/perseus-editor/src Expand file tree Collapse file tree 2 files changed +29
-0
lines changed Original file line number Diff line number Diff line change
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 ;
Original file line number Diff line number Diff line change
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 ;
You can’t perform that action at this time.
0 commit comments