Skip to content

Commit

Permalink
Update modules/react/collection/lib/useOverflowListModel.tsx
Browse files Browse the repository at this point in the history
Co-authored-by: Nicholas Boll <[email protected]>
  • Loading branch information
mannycarrera4 and NicholasBoll authored Nov 5, 2024
1 parent 9d69ff5 commit 82e7800
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions modules/react/collection/lib/useOverflowListModel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,9 @@ export const useOverflowListModel = createModelHook({
);
setHiddenIds(ids);
},
/**
* @deprecated Use `setContainerSize` instead and pass both `width` and `height`
*/
setContainerWidth(data: {width?: number}) {
events.setContainerSize({width: data.width, height: 0});
},
Expand Down

0 comments on commit 82e7800

Please sign in to comment.