Skip to content

Commit 057ff16

Browse files
committed
fix: code editory copyButton story
1 parent b5d5e06 commit 057ff16

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

packages/ui/src/components/compositions/CodeEditor/__stories__/CopyButton.stories.tsx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,10 @@ export const CopyButton: StoryFn<ComponentProps<typeof CodeEditor>> = ({
2525

2626
return <CodeEditor {...props} copyButton onChange={setValue} value={value} />
2727
}
28+
29+
CopyButton.args = {
30+
extensions: 'js',
31+
helper: 'Example of helper text',
32+
label: 'Code Editor',
33+
readOnly: false,
34+
}

0 commit comments

Comments
 (0)