Skip to content

Commit

Permalink
ButtonIcon: Add ledger.
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeGruffins committed Sep 19, 2023
1 parent d7ca43e commit af3dfbe
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
1 change: 1 addition & 0 deletions src/components/ButtonIcon/ButtonIcon.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ ButtonIcon.propTypes = {
"privacy",
"ln",
"trezor",
"ledger",
"create",
"restore",
"watchOnly",
Expand Down
2 changes: 1 addition & 1 deletion src/components/Icon/Icon.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -1282,7 +1282,7 @@ const icons = (type, backgroundColor, iconColor) => {
),
ledger: (
<path
d="M0 91.6548V128H55.3076V119.94H8.05844V91.6548H0ZM138.98 91.6548V119.94H91.7313V127.998H147.039V91.6548H138.98ZM55.388 36.3452V91.6529H91.7313V84.3842H63.4464V36.3452H55.388ZM0 0V36.3452H8.05844V8.05844H55.3076V0H0ZM91.7313 0V8.05844H138.98V36.3452H147.039V0H91.7313Z"
d="M 0 309.574219 L 0 420.835938 L 169.265625 420.835938 L 169.265625 396.164062 L 24.664062 396.164062 L 24.664062 309.574219 Z M 425.339844 309.574219 L 425.339844 396.164062 L 280.734375 396.164062 L 280.734375 420.832031 L 450 420.832031 L 450 309.574219 Z M 169.511719 140.261719 L 169.511719 309.570312 L 280.734375 309.570312 L 280.734375 287.320312 L 194.171875 287.320312 L 194.171875 140.261719 Z M 0 29 L 0 140.261719 L 24.664062 140.261719 L 24.664062 53.667969 L 169.265625 53.667969 L 169.265625 29 Z M 280.734375 29 L 280.734375 53.667969 L 425.339844 53.667969 L 425.339844 140.261719 L 450 140.261719 L 450 29 Z M 280.734375 29 "
fill={iconColor}
/>
),
Expand Down
6 changes: 0 additions & 6 deletions src/stories/Icon.stories.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit af3dfbe

Please sign in to comment.