Skip to content

Commit

Permalink
Merge pull request #6 from reef-chain/select-account-btn
Browse files Browse the repository at this point in the history
feat: select account button
  • Loading branch information
matjazonline authored Sep 19, 2023
2 parents 2ec9161 + 728ecd3 commit 06b3d41
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 3 deletions.
8 changes: 8 additions & 0 deletions src/ui-kit/components/organisms/AccountSelector/Account.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,14 @@ const Account = ({

</div>

<div className="uik-account-selector__select_btn">
<Button
fill
text={localizedStrings.select}
size='large'
onClick={onSelect}
/>
</div>
<button
type="button"
className="uik-account-selector-account__qr-code"
Expand Down
6 changes: 4 additions & 2 deletions src/ui-kit/l10n/l10n.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ export const localizedStrings = new LocalizedStrings({
copied_reef_evm:"Copied Reef EVM address to clipboard.\nDO NOT use this Reef EVM address on any other chain. ONLY use it on Reef chain.",
i_understand:"I understand",
open_in_explorer:"Open in Explorer",
selected:"Selected"
selected:"Selected",
select:"Select"
},
hi:{
select_account: "खाता चुनें",
Expand All @@ -29,6 +30,7 @@ export const localizedStrings = new LocalizedStrings({
copied_reef_evm: "रीफ ई वी एम पता क्लिपबोर्ड पर कॉपी किया गया।\nकृपया इस रीफ ई वी एम पते का किसी अन्य चेन पर उपयोग न करें। केवल रीफ चेन पर ही उपयोग करें।",
i_understand: "मैं समझता हूँ",
open_in_explorer: "एक्सप्लोरर में खोलें",
selected: "चयनित"
selected: "चयनित",
select:"चुनें"
}
})
8 changes: 7 additions & 1 deletion src/ui-kit/styles/account-selector.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
.uik-account-selector {
.uik-account-selector__select_btn {
border: none;
display: flex;
padding: 10px;
margin-left: auto;
margin-right: 40px;
}
.uik-account-selector__wrapper {
position: fixed;
top: 0;
Expand Down Expand Up @@ -261,7 +268,6 @@
box-shadow: var(--neomorph-in);
border-radius: 10px;
transition: all 0.125s;
margin-left: auto;
pointer-events: none;

.uik-qr-code {
Expand Down

0 comments on commit 06b3d41

Please sign in to comment.