Skip to content

Commit

Permalink
DialogV2: Reduce the buttons in Storybook story (#5740)
Browse files Browse the repository at this point in the history
Co-authored-by: TylerJDev <[email protected]>
  • Loading branch information
TylerJDev and TylerJDev authored Mar 8, 2025
1 parent 6979d25 commit 4691b9f
Show file tree
Hide file tree
Showing 10 changed files with 1 addition and 1 deletion.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion packages/react/src/Dialog/Dialog.features.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ export const StressTest = ({width, height, subtitle}: DialogStoryProps) => {
const onDialogClose = useCallback(() => setIsOpen(false), [])
const onSecondDialogClose = useCallback(() => setSecondOpen(false), [])
const openSecondDialog = useCallback(() => setSecondOpen(true), [])
const manyButtons = new Array(10).fill(undefined).map((_, i) => ({content: `Button ${i}`}))
const manyButtons = new Array(3).fill(undefined).map((_, i) => ({content: `Button ${i}`}))
return (
<>
<Button ref={buttonRef} onClick={() => setIsOpen(!isOpen)}>
Expand Down

0 comments on commit 4691b9f

Please sign in to comment.