Skip to content

Commit 924e85f

Browse files
committed
Match MDX example to new props
1 parent ef2a0f0 commit 924e85f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/mdx/dev/content/slideshow-onchange.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Internal CH.Slideshow state object is being logged to console from the onChange event. CH.Slideshow is also being initialized on a different slide number.
44

5-
<CH.Slideshow preset="https://codesandbox.io/s/rfdho" code={{minZoom: 0.5}} initialSlideIndex={5} onChange={(obj) => console.log(obj)}>
5+
<CH.Slideshow preset="https://codesandbox.io/s/rfdho" code={{minZoom: 0.5}} start={5} onChange={(obj) => console.table(obj)}>
66

77
<CH.Code>
88

0 commit comments

Comments
 (0)