Skip to content

Commit

Permalink
update story
Browse files Browse the repository at this point in the history
  • Loading branch information
abrin committed Jul 3, 2024
1 parent e74229e commit 09283b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/storybook/src/stories/canvas-panel.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ export const CanvasWithMultipleContentStates = () => {
manifestUrl: welcome,
skipSizes: true,
extra: () => <>
<button onClick={()=> (document?.querySelector(selector) as any).setContentStateFromText(contentStateNarrowViewport)} >Narrow</button>
<button onClick={()=> (document?.querySelector(selector) as any).setContentStateFromText(contentStateNarrowViewport,true)} >Narrow</button>
<button onClick={()=> (document?.querySelector(selector) as any).setContentStateFromText(contentStateWideViewport)} >Wide</button>
</>
}
Expand Down

0 comments on commit 09283b6

Please sign in to comment.