Skip to content

Commit 4691b9f

Browse files
authored
DialogV2: Reduce the buttons in Storybook story (#5740)
Co-authored-by: TylerJDev <[email protected]>
1 parent 6979d25 commit 4691b9f

10 files changed

+1
-1
lines changed
1.14 KB
Loading
1.01 KB
Loading
1.14 KB
Loading
1.13 KB
Loading
1.13 KB
Loading
906 Bytes
Loading
711 Bytes
Loading
912 Bytes
Loading
903 Bytes
Loading

packages/react/src/Dialog/Dialog.features.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ export const StressTest = ({width, height, subtitle}: DialogStoryProps) => {
123123
const onDialogClose = useCallback(() => setIsOpen(false), [])
124124
const onSecondDialogClose = useCallback(() => setSecondOpen(false), [])
125125
const openSecondDialog = useCallback(() => setSecondOpen(true), [])
126-
const manyButtons = new Array(10).fill(undefined).map((_, i) => ({content: `Button ${i}`}))
126+
const manyButtons = new Array(3).fill(undefined).map((_, i) => ({content: `Button ${i}`}))
127127
return (
128128
<>
129129
<Button ref={buttonRef} onClick={() => setIsOpen(!isOpen)}>

0 commit comments

Comments
 (0)