diff --git a/packages/core/src/components/ResponsiveList/ResponsiveList.tsx b/packages/core/src/components/ResponsiveList/ResponsiveList.tsx index f6c937e055..dd300ded5d 100644 --- a/packages/core/src/components/ResponsiveList/ResponsiveList.tsx +++ b/packages/core/src/components/ResponsiveList/ResponsiveList.tsx @@ -4,11 +4,13 @@ import useMergeRef from "../../hooks/useMergeRef"; import useElementsOverflowingIndex from "../../hooks/useElementsOverflowingIndex"; import { ComponentDefaultTestId, getTestId } from "../../tests/test-ids-utils"; import styles from "./ResponsiveList.module.scss"; -import { VibeComponent } from "../../types"; +import { VibeComponent, withStaticProps } from "../../types"; import MenuButton from "../MenuButton/MenuButton"; import { DEFAULT_MINIMAL_MARGIN, EMPTY_ARRAY, ResponsiveListProps } from "./ResponsiveList.types"; -const ResponsiveList: VibeComponent = forwardRef( +const ResponsiveList: VibeComponent & { + menuButtonSizes?: typeof MenuButton.sizes; +} = forwardRef( ( { id, @@ -101,4 +103,5 @@ const ResponsiveList: VibeComponent = forwardRef