From 6c9a8f1d36838b75e44efa8546a7e07e2907ea13 Mon Sep 17 00:00:00 2001 From: hachiojidev <72719739+hachiojidev@users.noreply.github.com> Date: Thu, 17 Dec 2020 17:52:24 +0900 Subject: [PATCH] fix(buttonmenu): "as" not being forwarded correctly (#99) * fix(buttonmenu): "as" not being forwarded correctly * test(buttonmenu): Updated snapshot --- src/__tests__/components/buttonmenu.test.tsx | 2 +- src/components/ButtonMenu/ButtonMenu.tsx | 8 ++++++-- src/components/ButtonMenu/ButtonMenuItem.tsx | 6 ++++-- .../ButtonMenu/StyledButtonMenu.tsx | 3 ++- src/components/ButtonMenu/index.stories.tsx | 20 +++++++++++++++++++ 5 files changed, 33 insertions(+), 6 deletions(-) diff --git a/src/__tests__/components/buttonmenu.test.tsx b/src/__tests__/components/buttonmenu.test.tsx index 785234d9d..6dfab367d 100644 --- a/src/__tests__/components/buttonmenu.test.tsx +++ b/src/__tests__/components/buttonmenu.test.tsx @@ -15,7 +15,7 @@ it("renders correctly", () => { expect(asFragment()).toMatchInlineSnapshot(`