Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ButtonIcon: Add ledger. #480

Merged
merged 1 commit into from
Sep 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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