From af3dfbe00bc6f7d85a9ad61a6d42641792a0575c Mon Sep 17 00:00:00 2001 From: JoeGruff Date: Fri, 15 Sep 2023 15:13:30 +0900 Subject: [PATCH] ButtonIcon: Add ledger. --- src/components/ButtonIcon/ButtonIcon.jsx | 1 + src/components/Icon/Icon.jsx | 2 +- src/stories/Icon.stories.jsx | 6 ------ 3 files changed, 2 insertions(+), 7 deletions(-) diff --git a/src/components/ButtonIcon/ButtonIcon.jsx b/src/components/ButtonIcon/ButtonIcon.jsx index bc07bd0d..c39a4e92 100644 --- a/src/components/ButtonIcon/ButtonIcon.jsx +++ b/src/components/ButtonIcon/ButtonIcon.jsx @@ -132,6 +132,7 @@ ButtonIcon.propTypes = { "privacy", "ln", "trezor", + "ledger", "create", "restore", "watchOnly", diff --git a/src/components/Icon/Icon.jsx b/src/components/Icon/Icon.jsx index bff4342a..4a20b7b0 100644 --- a/src/components/Icon/Icon.jsx +++ b/src/components/Icon/Icon.jsx @@ -1282,7 +1282,7 @@ const icons = (type, backgroundColor, iconColor) => { ), ledger: ( ), diff --git a/src/stories/Icon.stories.jsx b/src/stories/Icon.stories.jsx index cf93800a..9fb93365 100644 --- a/src/stories/Icon.stories.jsx +++ b/src/stories/Icon.stories.jsx @@ -15,12 +15,6 @@ export const Type = Template.bind({}); Type.args = { type: "search", }; -export const CustomHeightWidth = Template.bind({}); -CustomHeightWidth.args = { - type: "ledger", - width: "148", - height: "128", -}; export const Small = Template.bind({}); Small.args = { type: "github",