Skip to content

Commit 925dbd7

Browse files
authored
docs: display JSX code demos for stories (#2374)
1 parent d9b8f76 commit 925dbd7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

apps/o3-storybook/.storybook/preview.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
import {allModes} from './modes';
22

33
export const parameters = {
4+
docs: {
5+
codePanel: true
6+
},
47
viewport: {
58
viewports: {
69
default: {name: 'Default', styles: {width: '240px', height: '900px'}},

0 commit comments

Comments
 (0)