We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dafb4bd commit 5a22631Copy full SHA for 5a22631
1 file changed
src/extensions/codemirror/CodeMirror.stories.tsx
@@ -24,17 +24,22 @@ const TemplateFull: StoryFn<typeof CodeEditor> = (args) => <CodeEditor {...args}
24
25
export const BasicExample = TemplateFull.bind({});
26
BasicExample.args = {
27
- name: "codeinput",
+ name: "jsinput",
28
+ mode: "json",
29
+ defaultValue: '{ json: "true" }',
30
+};
31
+
32
+export const MarkdownWithToolbar = TemplateFull.bind({});
33
+MarkdownWithToolbar.args = {
34
+ name: "mdinput",
35
mode: "markdown",
36
defaultValue: "**test me**",
37
useToolbar: true,
- disabled: false,
- readOnly: true,
38
};
39
40
export const LinterExample = TemplateFull.bind({});
41
LinterExample.args = {
42
+ name: "lintinput",
43
44
mode: "javascript",
45
useLinting: true,
0 commit comments