diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-11-09 08:39:40 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-11-09 08:40:21 +0800 |
commit | 990d510d05dc3698a457f0c850042b436018fdaf (patch) | |
tree | 9167f50e291337551e4eaa3e8c5b158bbdbb8d9a | |
parent | 3eac119399d3e2729ce65f748d9fb31207ac2540 (diff) | |
download | dexon-0x-contracts-990d510d05dc3698a457f0c850042b436018fdaf.tar dexon-0x-contracts-990d510d05dc3698a457f0c850042b436018fdaf.tar.gz dexon-0x-contracts-990d510d05dc3698a457f0c850042b436018fdaf.tar.bz2 dexon-0x-contracts-990d510d05dc3698a457f0c850042b436018fdaf.tar.lz dexon-0x-contracts-990d510d05dc3698a457f0c850042b436018fdaf.tar.xz dexon-0x-contracts-990d510d05dc3698a457f0c850042b436018fdaf.tar.zst dexon-0x-contracts-990d510d05dc3698a457f0c850042b436018fdaf.zip |
feat: add lock icon
-rw-r--r-- | packages/instant/src/components/ui/icon.tsx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/packages/instant/src/components/ui/icon.tsx b/packages/instant/src/components/ui/icon.tsx index a88fa87dd..811142b5b 100644 --- a/packages/instant/src/components/ui/icon.tsx +++ b/packages/instant/src/components/ui/icon.tsx @@ -20,6 +20,7 @@ interface IconInfoMapping { success: IconInfo; chevron: IconInfo; search: IconInfo; + lock: IconInfo; } const ICONS: IconInfoMapping = { closeX: { @@ -58,6 +59,11 @@ const ICONS: IconInfoMapping = { path: 'M8.39404 5.19727C8.39404 6.96289 6.96265 8.39453 5.19702 8.39453C3.4314 8.39453 2 6.96289 2 5.19727C2 3.43164 3.4314 2 5.19702 2C6.96265 2 8.39404 3.43164 8.39404 5.19727ZM8.09668 9.51074C7.26855 10.0684 6.27075 10.3945 5.19702 10.3945C2.3269 10.3945 0 8.06738 0 5.19727C0 2.32715 2.3269 0 5.19702 0C8.06738 0 10.394 2.32715 10.394 5.19727C10.394 6.27051 10.0686 7.26855 9.51074 8.09668L13.6997 12.2861L12.2854 13.7002L8.09668 9.51074Z', }, + lock: { + viewBox: '0 0 13 16', + path: + 'M6.47619 0C3.79509 0 1.60489 2.21216 1.60489 4.92014V6.33135C0.717479 6.33135 0 7.05602 0 7.95232V14.379C0 15.2753 0.717479 16 1.60489 16H11.3475C12.2349 16 12.9524 15.2753 12.9524 14.379V7.95232C12.9524 7.05602 12.2349 6.33135 11.3475 6.33135V4.92014C11.3475 2.21216 9.1573 0 6.47619 0ZM9.6482 6.33135H3.30418V4.92014C3.30418 3.16567 4.72026 1.71633 6.47619 1.71633C8.23213 1.71633 9.6482 3.16567 9.6482 4.92014V6.33135Z', + }, }; export interface IconProps { |