From 81b71f8153bc6218669d88fe14dd81689c18918b Mon Sep 17 00:00:00 2001 From: Aleksandr Gumroian Date: Wed, 2 Oct 2024 13:14:40 +0200 Subject: [PATCH 1/5] Refactor ThreeDotsMenu component to include additional props --- src/bootstrap/ThreeDotsMenu.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bootstrap/ThreeDotsMenu.js b/src/bootstrap/ThreeDotsMenu.js index 92bb6f7..ab82185 100644 --- a/src/bootstrap/ThreeDotsMenu.js +++ b/src/bootstrap/ThreeDotsMenu.js @@ -18,9 +18,9 @@ ThreeDotsMenu.propTypes = { children: PropTypes.arrayOf(PropTypes.node).isRequired, }; -function ThreeDotsMenu({ children }) { +function ThreeDotsMenu({ children, ...props }) { return ( -
+