@reown/appkit-ui-react-native 0.0.0-fix-token-balance-20241017200828 → 0.0.0-fix-fetch-error-improvements-20241114124235
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/commonjs/assets/svg/Farcaster.js +28 -0
- package/lib/commonjs/assets/svg/Farcaster.js.map +1 -0
- package/lib/commonjs/assets/svg/FarcasterSquare.js +28 -0
- package/lib/commonjs/assets/svg/FarcasterSquare.js.map +1 -0
- package/lib/commonjs/assets/svg/{TwitterIcon.js → More.js} +16 -5
- package/lib/commonjs/assets/svg/More.js.map +1 -0
- package/lib/commonjs/assets/svg/WalletConnect.js +19 -1
- package/lib/commonjs/assets/svg/WalletConnect.js.map +1 -1
- package/lib/commonjs/assets/svg/{Twitter.js → X.js} +18 -28
- package/lib/commonjs/assets/svg/X.js.map +1 -0
- package/lib/commonjs/assets/visual/Google.js +59 -0
- package/lib/commonjs/assets/visual/Google.js.map +1 -0
- package/lib/commonjs/assets/visual/Lightbulb.js +58 -0
- package/lib/commonjs/assets/visual/Lightbulb.js.map +1 -0
- package/lib/commonjs/assets/visual/Pencil.js +81 -0
- package/lib/commonjs/assets/visual/Pencil.js.map +1 -0
- package/lib/commonjs/components/wui-card/index.js +1 -1
- package/lib/commonjs/components/wui-card/styles.js +1 -1
- package/lib/commonjs/components/wui-card/styles.js.map +1 -1
- package/lib/commonjs/components/wui-icon/index.js +14 -7
- package/lib/commonjs/components/wui-icon/index.js.map +1 -1
- package/lib/commonjs/components/wui-lean-text/index.js +15 -0
- package/lib/commonjs/components/wui-lean-text/index.js.map +1 -0
- package/lib/commonjs/components/wui-lean-view/index.js +15 -0
- package/lib/commonjs/components/wui-lean-view/index.js.map +1 -0
- package/lib/commonjs/components/wui-text/index.js +2 -2
- package/lib/commonjs/components/wui-text/index.js.map +1 -1
- package/lib/commonjs/components/wui-visual/index.js +6 -0
- package/lib/commonjs/components/wui-visual/index.js.map +1 -1
- package/lib/commonjs/composites/wui-account-button/styles.js +2 -2
- package/lib/commonjs/composites/wui-account-button/styles.js.map +1 -1
- package/lib/commonjs/composites/wui-account-pill/index.js +5 -11
- package/lib/commonjs/composites/wui-account-pill/index.js.map +1 -1
- package/lib/commonjs/composites/wui-account-pill/styles.js +5 -1
- package/lib/commonjs/composites/wui-account-pill/styles.js.map +1 -1
- package/lib/commonjs/composites/wui-button/styles.js +1 -1
- package/lib/commonjs/composites/wui-button/styles.js.map +1 -1
- package/lib/commonjs/composites/wui-chip/index.js +7 -3
- package/lib/commonjs/composites/wui-chip/index.js.map +1 -1
- package/lib/commonjs/composites/wui-chip/styles.js +2 -2
- package/lib/commonjs/composites/wui-chip/styles.js.map +1 -1
- package/lib/commonjs/composites/wui-compatible-network/index.js +6 -6
- package/lib/commonjs/composites/wui-compatible-network/index.js.map +1 -1
- package/lib/commonjs/composites/wui-connect-button/styles.js +1 -1
- package/lib/commonjs/composites/wui-connect-button/styles.js.map +1 -1
- package/lib/commonjs/composites/wui-icon-box/index.js +17 -1
- package/lib/commonjs/composites/wui-icon-box/index.js.map +1 -1
- package/lib/commonjs/composites/wui-input-text/styles.js +1 -1
- package/lib/commonjs/composites/wui-input-text/styles.js.map +1 -1
- package/lib/commonjs/composites/wui-list-social/index.js +54 -0
- package/lib/commonjs/composites/wui-list-social/index.js.map +1 -0
- package/lib/commonjs/composites/wui-list-social/styles.js +34 -0
- package/lib/commonjs/composites/wui-list-social/styles.js.map +1 -0
- package/lib/commonjs/composites/wui-list-wallet/index.js +4 -3
- package/lib/commonjs/composites/wui-list-wallet/index.js.map +1 -1
- package/lib/commonjs/composites/wui-logo/index.js +4 -2
- package/lib/commonjs/composites/wui-logo/index.js.map +1 -1
- package/lib/commonjs/composites/wui-logo-select/index.js +6 -3
- package/lib/commonjs/composites/wui-logo-select/index.js.map +1 -1
- package/lib/commonjs/composites/wui-logo-select/styles.js +3 -3
- package/lib/commonjs/composites/wui-logo-select/styles.js.map +1 -1
- package/lib/commonjs/composites/wui-network-button/styles.js +1 -1
- package/lib/commonjs/composites/wui-network-button/styles.js.map +1 -1
- package/lib/commonjs/composites/wui-otp/index.js +1 -2
- package/lib/commonjs/composites/wui-otp/index.js.map +1 -1
- package/lib/commonjs/composites/wui-promo/index.js +48 -0
- package/lib/commonjs/composites/wui-promo/index.js.map +1 -0
- package/lib/commonjs/composites/wui-qr-code/index.js +2 -1
- package/lib/commonjs/composites/wui-qr-code/index.js.map +1 -1
- package/lib/commonjs/composites/wui-snackbar/styles.js +1 -1
- package/lib/commonjs/composites/wui-snackbar/styles.js.map +1 -1
- package/lib/commonjs/composites/wui-tabs/styles.js +1 -1
- package/lib/commonjs/composites/wui-tabs/styles.js.map +1 -1
- package/lib/commonjs/composites/wui-wallet-image/styles.js +1 -1
- package/lib/commonjs/composites/wui-wallet-image/styles.js.map +1 -1
- package/lib/commonjs/index.js +14 -0
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/layout/wui-flex/index.js +2 -2
- package/lib/commonjs/layout/wui-flex/index.js.map +1 -1
- package/lib/commonjs/layout/wui-separator/index.js +4 -4
- package/lib/commonjs/layout/wui-separator/index.js.map +1 -1
- package/lib/commonjs/utils/ThemeUtil.js +2 -1
- package/lib/commonjs/utils/ThemeUtil.js.map +1 -1
- package/lib/module/assets/svg/Farcaster.js +20 -0
- package/lib/module/assets/svg/Farcaster.js.map +1 -0
- package/lib/module/assets/svg/FarcasterSquare.js +20 -0
- package/lib/module/assets/svg/FarcasterSquare.js.map +1 -0
- package/lib/module/assets/svg/More.js +22 -0
- package/lib/module/assets/svg/More.js.map +1 -0
- package/lib/module/assets/svg/WalletConnect.js +18 -1
- package/lib/module/assets/svg/WalletConnect.js.map +1 -1
- package/lib/module/assets/svg/X.js +27 -0
- package/lib/module/assets/svg/X.js.map +1 -0
- package/lib/module/assets/visual/Google.js +51 -0
- package/lib/module/assets/visual/Google.js.map +1 -0
- package/lib/module/assets/visual/Lightbulb.js +50 -0
- package/lib/module/assets/visual/Lightbulb.js.map +1 -0
- package/lib/module/assets/visual/Pencil.js +73 -0
- package/lib/module/assets/visual/Pencil.js.map +1 -0
- package/lib/module/components/wui-card/index.js +1 -1
- package/lib/module/components/wui-card/styles.js +1 -1
- package/lib/module/components/wui-card/styles.js.map +1 -1
- package/lib/module/components/wui-icon/index.js +12 -7
- package/lib/module/components/wui-icon/index.js.map +1 -1
- package/lib/module/components/wui-lean-text/index.js +10 -0
- package/lib/module/components/wui-lean-text/index.js.map +1 -0
- package/lib/module/components/wui-lean-view/index.js +10 -0
- package/lib/module/components/wui-lean-view/index.js.map +1 -0
- package/lib/module/components/wui-text/index.js +2 -2
- package/lib/module/components/wui-text/index.js.map +1 -1
- package/lib/module/components/wui-visual/index.js +6 -0
- package/lib/module/components/wui-visual/index.js.map +1 -1
- package/lib/module/composites/wui-account-button/styles.js +2 -2
- package/lib/module/composites/wui-account-button/styles.js.map +1 -1
- package/lib/module/composites/wui-account-pill/index.js +5 -11
- package/lib/module/composites/wui-account-pill/index.js.map +1 -1
- package/lib/module/composites/wui-account-pill/styles.js +5 -1
- package/lib/module/composites/wui-account-pill/styles.js.map +1 -1
- package/lib/module/composites/wui-button/styles.js +1 -1
- package/lib/module/composites/wui-button/styles.js.map +1 -1
- package/lib/module/composites/wui-chip/index.js +7 -3
- package/lib/module/composites/wui-chip/index.js.map +1 -1
- package/lib/module/composites/wui-chip/styles.js +2 -2
- package/lib/module/composites/wui-chip/styles.js.map +1 -1
- package/lib/module/composites/wui-compatible-network/index.js +6 -6
- package/lib/module/composites/wui-compatible-network/index.js.map +1 -1
- package/lib/module/composites/wui-connect-button/styles.js +1 -1
- package/lib/module/composites/wui-connect-button/styles.js.map +1 -1
- package/lib/module/composites/wui-icon-box/index.js +17 -1
- package/lib/module/composites/wui-icon-box/index.js.map +1 -1
- package/lib/module/composites/wui-input-text/styles.js +1 -1
- package/lib/module/composites/wui-input-text/styles.js.map +1 -1
- package/lib/module/composites/wui-list-social/index.js +47 -0
- package/lib/module/composites/wui-list-social/index.js.map +1 -0
- package/lib/module/composites/wui-list-social/styles.js +28 -0
- package/lib/module/composites/wui-list-social/styles.js.map +1 -0
- package/lib/module/composites/wui-list-wallet/index.js +5 -4
- package/lib/module/composites/wui-list-wallet/index.js.map +1 -1
- package/lib/module/composites/wui-logo/index.js +4 -2
- package/lib/module/composites/wui-logo/index.js.map +1 -1
- package/lib/module/composites/wui-logo-select/index.js +6 -3
- package/lib/module/composites/wui-logo-select/index.js.map +1 -1
- package/lib/module/composites/wui-logo-select/styles.js +3 -3
- package/lib/module/composites/wui-logo-select/styles.js.map +1 -1
- package/lib/module/composites/wui-network-button/styles.js +1 -1
- package/lib/module/composites/wui-network-button/styles.js.map +1 -1
- package/lib/module/composites/wui-otp/index.js +2 -3
- package/lib/module/composites/wui-otp/index.js.map +1 -1
- package/lib/module/composites/wui-promo/index.js +42 -0
- package/lib/module/composites/wui-promo/index.js.map +1 -0
- package/lib/module/composites/wui-qr-code/index.js +2 -1
- package/lib/module/composites/wui-qr-code/index.js.map +1 -1
- package/lib/module/composites/wui-snackbar/styles.js +1 -1
- package/lib/module/composites/wui-snackbar/styles.js.map +1 -1
- package/lib/module/composites/wui-tabs/styles.js +1 -1
- package/lib/module/composites/wui-tabs/styles.js.map +1 -1
- package/lib/module/composites/wui-wallet-image/styles.js +1 -1
- package/lib/module/composites/wui-wallet-image/styles.js.map +1 -1
- package/lib/module/index.js +2 -0
- package/lib/module/index.js.map +1 -1
- package/lib/module/layout/wui-flex/index.js +2 -2
- package/lib/module/layout/wui-flex/index.js.map +1 -1
- package/lib/module/layout/wui-separator/index.js +4 -4
- package/lib/module/layout/wui-separator/index.js.map +1 -1
- package/lib/module/utils/ThemeUtil.js +2 -1
- package/lib/module/utils/ThemeUtil.js.map +1 -1
- package/lib/typescript/assets/svg/Farcaster.d.ts +4 -0
- package/lib/typescript/assets/svg/Farcaster.d.ts.map +1 -0
- package/lib/typescript/assets/svg/FarcasterSquare.d.ts +4 -0
- package/lib/typescript/assets/svg/FarcasterSquare.d.ts.map +1 -0
- package/lib/typescript/assets/svg/More.d.ts +4 -0
- package/lib/typescript/assets/svg/More.d.ts.map +1 -0
- package/lib/typescript/assets/svg/WalletConnect.d.ts +1 -0
- package/lib/typescript/assets/svg/WalletConnect.d.ts.map +1 -1
- package/lib/typescript/assets/svg/X.d.ts +4 -0
- package/lib/typescript/assets/svg/X.d.ts.map +1 -0
- package/lib/typescript/assets/visual/Google.d.ts +4 -0
- package/lib/typescript/assets/visual/Google.d.ts.map +1 -0
- package/lib/typescript/assets/visual/Lightbulb.d.ts +4 -0
- package/lib/typescript/assets/visual/Lightbulb.d.ts.map +1 -0
- package/lib/typescript/assets/visual/Pencil.d.ts +4 -0
- package/lib/typescript/assets/visual/Pencil.d.ts.map +1 -0
- package/lib/typescript/components/wui-icon/index.d.ts +1 -1
- package/lib/typescript/components/wui-icon/index.d.ts.map +1 -1
- package/lib/typescript/components/wui-lean-text/index.d.ts +5 -0
- package/lib/typescript/components/wui-lean-text/index.d.ts.map +1 -0
- package/lib/typescript/components/wui-lean-view/index.d.ts +5 -0
- package/lib/typescript/components/wui-lean-view/index.d.ts.map +1 -0
- package/lib/typescript/components/wui-text/index.d.ts.map +1 -1
- package/lib/typescript/components/wui-visual/index.d.ts.map +1 -1
- package/lib/typescript/composites/wui-account-pill/index.d.ts +1 -2
- package/lib/typescript/composites/wui-account-pill/index.d.ts.map +1 -1
- package/lib/typescript/composites/wui-account-pill/styles.d.ts +4 -0
- package/lib/typescript/composites/wui-account-pill/styles.d.ts.map +1 -1
- package/lib/typescript/composites/wui-chip/index.d.ts +3 -2
- package/lib/typescript/composites/wui-chip/index.d.ts.map +1 -1
- package/lib/typescript/composites/wui-compatible-network/index.d.ts.map +1 -1
- package/lib/typescript/composites/wui-icon-box/index.d.ts +1 -1
- package/lib/typescript/composites/wui-icon-box/index.d.ts.map +1 -1
- package/lib/typescript/composites/wui-list-social/index.d.ts +15 -0
- package/lib/typescript/composites/wui-list-social/index.d.ts.map +1 -0
- package/lib/typescript/composites/wui-list-social/styles.d.ts +27 -0
- package/lib/typescript/composites/wui-list-social/styles.d.ts.map +1 -0
- package/lib/typescript/composites/wui-list-wallet/index.d.ts.map +1 -1
- package/lib/typescript/composites/wui-logo/index.d.ts +3 -1
- package/lib/typescript/composites/wui-logo/index.d.ts.map +1 -1
- package/lib/typescript/composites/wui-logo-select/index.d.ts +4 -1
- package/lib/typescript/composites/wui-logo-select/index.d.ts.map +1 -1
- package/lib/typescript/composites/wui-otp/index.d.ts.map +1 -1
- package/lib/typescript/composites/wui-promo/index.d.ts +8 -0
- package/lib/typescript/composites/wui-promo/index.d.ts.map +1 -0
- package/lib/typescript/composites/wui-qr-code/index.d.ts +3 -1
- package/lib/typescript/composites/wui-qr-code/index.d.ts.map +1 -1
- package/lib/typescript/index.d.ts +2 -0
- package/lib/typescript/index.d.ts.map +1 -1
- package/lib/typescript/layout/wui-flex/index.d.ts.map +1 -1
- package/lib/typescript/layout/wui-separator/index.d.ts.map +1 -1
- package/lib/typescript/utils/ThemeUtil.d.ts +1 -0
- package/lib/typescript/utils/ThemeUtil.d.ts.map +1 -1
- package/lib/typescript/utils/TypesUtil.d.ts +4 -4
- package/lib/typescript/utils/TypesUtil.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/assets/svg/Farcaster.tsx +15 -0
- package/src/assets/svg/FarcasterSquare.tsx +15 -0
- package/src/assets/svg/More.tsx +16 -0
- package/src/assets/svg/WalletConnect.tsx +24 -1
- package/src/assets/svg/X.tsx +26 -0
- package/src/assets/visual/Google.tsx +43 -0
- package/src/assets/visual/Lightbulb.tsx +54 -0
- package/src/assets/visual/Pencil.tsx +80 -0
- package/src/components/wui-card/index.tsx +1 -1
- package/src/components/wui-card/styles.ts +1 -1
- package/src/components/wui-icon/index.tsx +13 -8
- package/src/components/wui-lean-text/index.tsx +10 -0
- package/src/components/wui-lean-view/index.tsx +10 -0
- package/src/components/wui-text/index.tsx +4 -3
- package/src/components/wui-visual/index.tsx +6 -0
- package/src/composites/wui-account-button/styles.ts +2 -2
- package/src/composites/wui-account-pill/index.tsx +2 -10
- package/src/composites/wui-account-pill/styles.ts +5 -1
- package/src/composites/wui-button/styles.ts +1 -1
- package/src/composites/wui-chip/index.tsx +7 -4
- package/src/composites/wui-chip/styles.ts +2 -2
- package/src/composites/wui-compatible-network/index.tsx +4 -4
- package/src/composites/wui-connect-button/styles.ts +1 -1
- package/src/composites/wui-icon-box/index.tsx +18 -2
- package/src/composites/wui-input-text/styles.ts +1 -1
- package/src/composites/wui-list-social/index.tsx +65 -0
- package/src/composites/wui-list-social/styles.ts +28 -0
- package/src/composites/wui-list-wallet/index.tsx +7 -6
- package/src/composites/wui-logo/index.tsx +4 -2
- package/src/composites/wui-logo-select/index.tsx +7 -4
- package/src/composites/wui-logo-select/styles.ts +3 -3
- package/src/composites/wui-network-button/styles.ts +1 -1
- package/src/composites/wui-otp/index.tsx +2 -4
- package/src/composites/wui-promo/index.tsx +42 -0
- package/src/composites/wui-qr-code/index.tsx +4 -2
- package/src/composites/wui-snackbar/styles.ts +1 -1
- package/src/composites/wui-tabs/styles.ts +1 -1
- package/src/composites/wui-wallet-image/styles.ts +1 -1
- package/src/index.ts +2 -0
- package/src/layout/wui-flex/index.tsx +3 -3
- package/src/layout/wui-separator/index.tsx +7 -4
- package/src/utils/ThemeUtil.ts +2 -1
- package/src/utils/TypesUtil.ts +22 -4
- package/lib/commonjs/assets/svg/Twitter.js.map +0 -1
- package/lib/commonjs/assets/svg/TwitterIcon.js.map +0 -1
- package/lib/module/assets/svg/Twitter.js +0 -37
- package/lib/module/assets/svg/Twitter.js.map +0 -1
- package/lib/module/assets/svg/TwitterIcon.js +0 -11
- package/lib/module/assets/svg/TwitterIcon.js.map +0 -1
- package/lib/typescript/assets/svg/Twitter.d.ts +0 -4
- package/lib/typescript/assets/svg/Twitter.d.ts.map +0 -1
- package/lib/typescript/assets/svg/TwitterIcon.d.ts +0 -4
- package/lib/typescript/assets/svg/TwitterIcon.d.ts.map +0 -1
- package/src/assets/svg/Twitter.tsx +0 -27
- package/src/assets/svg/TwitterIcon.tsx +0 -10
|
@@ -8,18 +8,20 @@ import { Text } from '../../components/wui-text';
|
|
|
8
8
|
import { FlexView } from '../../layout/wui-flex';
|
|
9
9
|
import { QRCodeUtil } from '../../utils/QRCodeUtil';
|
|
10
10
|
import { BorderRadius, LightTheme, Spacing } from '../../utils/ThemeUtil';
|
|
11
|
+
import type { IconType } from '../../utils/TypesUtil';
|
|
11
12
|
import styles from './styles';
|
|
12
13
|
|
|
13
14
|
export interface QrCodeProps {
|
|
14
15
|
size: number;
|
|
15
16
|
uri?: string;
|
|
16
17
|
imageSrc?: string;
|
|
18
|
+
icon?: IconType;
|
|
17
19
|
testID?: string;
|
|
18
20
|
arenaClear?: boolean;
|
|
19
21
|
style?: StyleProp<ViewStyle>;
|
|
20
22
|
}
|
|
21
23
|
|
|
22
|
-
export function QrCode({ size, uri, imageSrc, testID, arenaClear, style }: QrCodeProps) {
|
|
24
|
+
export function QrCode({ size, uri, imageSrc, testID, arenaClear, icon, style }: QrCodeProps) {
|
|
23
25
|
const Theme = LightTheme;
|
|
24
26
|
const containerPadding = Spacing.l;
|
|
25
27
|
const qrSize = size - containerPadding * 2;
|
|
@@ -49,7 +51,7 @@ export function QrCode({ size, uri, imageSrc, testID, arenaClear, style }: QrCod
|
|
|
49
51
|
|
|
50
52
|
return (
|
|
51
53
|
<Icon
|
|
52
|
-
name=
|
|
54
|
+
name={icon ?? 'walletConnect'}
|
|
53
55
|
color="accent-100"
|
|
54
56
|
height={qrSize / 3.5}
|
|
55
57
|
width={qrSize / 3.5}
|
package/src/index.ts
CHANGED
|
@@ -40,6 +40,7 @@ export { InputNumeric, type InputNumericProps } from './composites/wui-input-num
|
|
|
40
40
|
export { InputText, type InputTextProps } from './composites/wui-input-text';
|
|
41
41
|
export { Link, type LinkProps } from './composites/wui-link';
|
|
42
42
|
export { ListItem, type ListItemProps } from './composites/wui-list-item';
|
|
43
|
+
export { ListSocial, type ListSocialProps } from './composites/wui-list-social';
|
|
43
44
|
export { ListToken, type ListTokenProps } from './composites/wui-list-token';
|
|
44
45
|
export { ListTransaction, type ListTransactionProps } from './composites/wui-list-transaction';
|
|
45
46
|
export { ListWallet, type ListWalletProps } from './composites/wui-list-wallet';
|
|
@@ -48,6 +49,7 @@ export { LogoSelect, type LogoSelectProps } from './composites/wui-logo-select';
|
|
|
48
49
|
export { NetworkButton, type NetworkButtonProps } from './composites/wui-network-button';
|
|
49
50
|
export { NetworkImage, type NetworkImageProps } from './composites/wui-network-image';
|
|
50
51
|
export { Otp, type OtpProps } from './composites/wui-otp';
|
|
52
|
+
export { Promo, type PromoProps } from './composites/wui-promo';
|
|
51
53
|
export { QrCode, type QrCodeProps } from './composites/wui-qr-code';
|
|
52
54
|
export { SearchBar, type SearchBarProps } from './composites/wui-search-bar';
|
|
53
55
|
export { Snackbar, type SnackbarProps } from './composites/wui-snackbar';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { type StyleProp, type ViewStyle } from 'react-native';
|
|
2
2
|
|
|
3
3
|
import type {
|
|
4
4
|
FlexAlignType,
|
|
@@ -9,8 +9,8 @@ import type {
|
|
|
9
9
|
FlexWrapType,
|
|
10
10
|
SpacingType
|
|
11
11
|
} from '../../utils/TypesUtil';
|
|
12
|
-
|
|
13
12
|
import { UiUtil } from '../../utils/UiUtil';
|
|
13
|
+
import { LeanView } from '../../components/wui-lean-view';
|
|
14
14
|
|
|
15
15
|
export interface FlexViewProps {
|
|
16
16
|
children?: React.ReactNode;
|
|
@@ -45,5 +45,5 @@ export function FlexView(props: FlexViewProps) {
|
|
|
45
45
|
marginLeft: props.margin && UiUtil.getSpacingStyles(props.margin, 3)
|
|
46
46
|
};
|
|
47
47
|
|
|
48
|
-
return <
|
|
48
|
+
return <LeanView style={[styles, props.style]}>{props.children}</LeanView>;
|
|
49
49
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { type StyleProp, type ViewStyle } from 'react-native';
|
|
2
2
|
import { Text } from '../../components/wui-text';
|
|
3
|
+
import { LeanView } from '../../components/wui-lean-view';
|
|
3
4
|
import { FlexView } from '../../layout/wui-flex';
|
|
4
5
|
import { useTheme } from '../../hooks/useTheme';
|
|
5
6
|
import styles from './styles';
|
|
@@ -13,18 +14,20 @@ export function Separator({ text, style }: SeparatorProps) {
|
|
|
13
14
|
const Theme = useTheme();
|
|
14
15
|
|
|
15
16
|
if (!text) {
|
|
16
|
-
return
|
|
17
|
+
return (
|
|
18
|
+
<LeanView style={[styles.single, { backgroundColor: Theme['gray-glass-005'] }, style]} />
|
|
19
|
+
);
|
|
17
20
|
}
|
|
18
21
|
|
|
19
22
|
return (
|
|
20
23
|
<FlexView flexDirection="row" alignItems="center" style={style}>
|
|
21
|
-
<
|
|
24
|
+
<LeanView
|
|
22
25
|
style={[styles.divider, styles.marginRight, { backgroundColor: Theme['gray-glass-005'] }]}
|
|
23
26
|
/>
|
|
24
27
|
<Text variant="small-500" color="fg-300">
|
|
25
28
|
{text}
|
|
26
29
|
</Text>
|
|
27
|
-
<
|
|
30
|
+
<LeanView
|
|
28
31
|
style={[styles.divider, styles.marginLeft, { backgroundColor: Theme['gray-glass-005'] }]}
|
|
29
32
|
/>
|
|
30
33
|
</FlexView>
|
package/src/utils/ThemeUtil.ts
CHANGED
package/src/utils/TypesUtil.ts
CHANGED
|
@@ -96,6 +96,15 @@ export type ColorType =
|
|
|
96
96
|
| 'fg-250'
|
|
97
97
|
| 'fg-275'
|
|
98
98
|
| 'fg-300'
|
|
99
|
+
| 'bg-100'
|
|
100
|
+
| 'bg-125'
|
|
101
|
+
| 'bg-150'
|
|
102
|
+
| 'bg-175'
|
|
103
|
+
| 'bg-200'
|
|
104
|
+
| 'bg-225'
|
|
105
|
+
| 'bg-250'
|
|
106
|
+
| 'bg-275'
|
|
107
|
+
| 'bg-300'
|
|
99
108
|
| 'accent-glass-020'
|
|
100
109
|
| 'accent-glass-015'
|
|
101
110
|
| 'accent-glass-010'
|
|
@@ -150,6 +159,8 @@ export type IconType =
|
|
|
150
159
|
| 'extension'
|
|
151
160
|
| 'externalLink'
|
|
152
161
|
| 'facebook'
|
|
162
|
+
| 'farcaster'
|
|
163
|
+
| 'farcasterSquare'
|
|
153
164
|
| 'filters'
|
|
154
165
|
| 'github'
|
|
155
166
|
| 'google'
|
|
@@ -157,6 +168,7 @@ export type IconType =
|
|
|
157
168
|
| 'infoCircle'
|
|
158
169
|
| 'mail'
|
|
159
170
|
| 'mobile'
|
|
171
|
+
| 'more'
|
|
160
172
|
| 'networkPlaceholder'
|
|
161
173
|
| 'nftPlaceholder'
|
|
162
174
|
| 'off'
|
|
@@ -168,14 +180,14 @@ export type IconType =
|
|
|
168
180
|
| 'swapVertical'
|
|
169
181
|
| 'telegram'
|
|
170
182
|
| 'twitch'
|
|
171
|
-
| 'twitter'
|
|
172
|
-
| 'twitterIcon'
|
|
173
183
|
| 'verify'
|
|
174
184
|
| 'wallet'
|
|
175
185
|
| 'walletSmall'
|
|
176
186
|
| 'walletConnect'
|
|
187
|
+
| 'walletConnectLightBrown'
|
|
177
188
|
| 'walletPlaceholder'
|
|
178
|
-
| 'warningCircle'
|
|
189
|
+
| 'warningCircle'
|
|
190
|
+
| 'x';
|
|
179
191
|
|
|
180
192
|
export type VisualType =
|
|
181
193
|
| 'browser'
|
|
@@ -183,12 +195,15 @@ export type VisualType =
|
|
|
183
195
|
| 'defi'
|
|
184
196
|
| 'defiAlt'
|
|
185
197
|
| 'eth'
|
|
198
|
+
| 'google'
|
|
186
199
|
| 'layers'
|
|
200
|
+
| 'lightbulb'
|
|
187
201
|
| 'lock'
|
|
188
202
|
| 'login'
|
|
189
203
|
| 'network'
|
|
190
204
|
| 'nft'
|
|
191
205
|
| 'noun'
|
|
206
|
+
| 'pencil'
|
|
192
207
|
| 'profile'
|
|
193
208
|
| 'system';
|
|
194
209
|
|
|
@@ -196,11 +211,14 @@ export type LogoType =
|
|
|
196
211
|
| 'apple'
|
|
197
212
|
| 'discord'
|
|
198
213
|
| 'facebook'
|
|
214
|
+
| 'farcaster'
|
|
215
|
+
| 'farcasterSquare'
|
|
199
216
|
| 'github'
|
|
200
217
|
| 'google'
|
|
218
|
+
| 'more'
|
|
201
219
|
| 'telegram'
|
|
202
220
|
| 'twitch'
|
|
203
|
-
| '
|
|
221
|
+
| 'x';
|
|
204
222
|
|
|
205
223
|
export type TagType = 'main' | 'shade' | 'error' | 'success';
|
|
206
224
|
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_reactNativeSvg","_interopRequireWildcard","require","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","prototype","hasOwnProperty","call","i","set","_extends","assign","bind","target","arguments","length","source","key","apply","SvgTwitter","props","React","createElement","viewBox","fill","G","clipPath","Circle","cx","cy","stroke","strokeOpacity","Path","d","Defs","ClipPath","id","_default","exports"],"sourceRoot":"../../../../src","sources":["assets/svg/Twitter.tsx"],"mappings":"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"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_reactNativeSvg","_interopRequireWildcard","require","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","prototype","hasOwnProperty","call","i","set","_extends","assign","bind","target","arguments","length","source","key","apply","SvgTwitter","props","React","createElement","viewBox","fill","Path","d","_default","exports"],"sourceRoot":"../../../../src","sources":["assets/svg/TwitterIcon.tsx"],"mappings":";;;;;;AAAA,IAAAA,eAAA,GAAAC,uBAAA,CAAAC,OAAA;AAA4D,SAAAC,yBAAAC,CAAA,6BAAAC,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,CAAAC,CAAA,WAAAA,CAAA,GAAAG,CAAA,GAAAD,CAAA,KAAAF,CAAA;AAAA,SAAAH,wBAAAG,CAAA,EAAAE,CAAA,SAAAA,CAAA,IAAAF,CAAA,IAAAA,CAAA,CAAAI,UAAA,SAAAJ,CAAA,eAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,WAAAK,OAAA,EAAAL,CAAA,QAAAG,CAAA,GAAAJ,wBAAA,CAAAG,CAAA,OAAAC,CAAA,IAAAA,CAAA,CAAAG,GAAA,CAAAN,CAAA,UAAAG,CAAA,CAAAI,GAAA,CAAAP,CAAA,OAAAQ,CAAA,KAAAC,SAAA,UAAAC,CAAA,GAAAC,MAAA,CAAAC,cAAA,IAAAD,MAAA,CAAAE,wBAAA,WAAAC,CAAA,IAAAd,CAAA,oBAAAc,CAAA,IAAAH,MAAA,CAAAI,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAjB,CAAA,EAAAc,CAAA,SAAAI,CAAA,GAAAR,CAAA,GAAAC,MAAA,CAAAE,wBAAA,CAAAb,CAAA,EAAAc,CAAA,UAAAI,CAAA,KAAAA,CAAA,CAAAX,GAAA,IAAAW,CAAA,CAAAC,GAAA,IAAAR,MAAA,CAAAC,cAAA,CAAAJ,CAAA,EAAAM,CAAA,EAAAI,CAAA,IAAAV,CAAA,CAAAM,CAAA,IAAAd,CAAA,CAAAc,CAAA,YAAAN,CAAA,CAAAH,OAAA,GAAAL,CAAA,EAAAG,CAAA,IAAAA,CAAA,CAAAgB,GAAA,CAAAnB,CAAA,EAAAQ,CAAA,GAAAA,CAAA;AAAA,SAAAY,SAAA,IAAAA,QAAA,GAAAT,MAAA,CAAAU,MAAA,GAAAV,MAAA,CAAAU,MAAA,CAAAC,IAAA,eAAAC,MAAA,aAAAL,CAAA,MAAAA,CAAA,GAAAM,SAAA,CAAAC,MAAA,EAAAP,CAAA,UAAAQ,MAAA,GAAAF,SAAA,CAAAN,CAAA,YAAAS,GAAA,IAAAD,MAAA,QAAAf,MAAA,CAAAI,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAS,MAAA,EAAAC,GAAA,KAAAJ,MAAA,CAAAI,GAAA,IAAAD,MAAA,CAAAC,GAAA,gBAAAJ,MAAA,YAAAH,QAAA,CAAAQ,KAAA,OAAAJ,SAAA;AAC5D,MAAMK,UAAU,GAAIC,KAAe,iBACjCC,KAAA,CAAAC,aAAA,CAACpC,eAAA,CAAAS,OAAG,EAAAe,QAAA;EAACa,OAAO,EAAC,WAAW;EAACC,IAAI,EAAC;AAAM,GAAKJ,KAAK,gBAC5CC,KAAA,CAAAC,aAAA,CAACpC,eAAA,CAAAuC,IAAI;EACHD,IAAI,EAAEJ,KAAK,CAACI,IAAI,IAAI,MAAO;EAC3BE,CAAC,EAAC;AAAqW,CACxW,CACE,CACN;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAAjC,OAAA,GACawB,UAAU"}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
-
import Svg, { G, Circle, Path, Defs, ClipPath } from 'react-native-svg';
|
|
3
|
-
const SvgTwitter = props => /*#__PURE__*/React.createElement(Svg, _extends({
|
|
4
|
-
viewBox: "0 0 40 40"
|
|
5
|
-
}, props, {
|
|
6
|
-
fill: "none"
|
|
7
|
-
}), /*#__PURE__*/React.createElement(G, {
|
|
8
|
-
clipPath: "url(#Twitter_svg__a)"
|
|
9
|
-
}, /*#__PURE__*/React.createElement(G, {
|
|
10
|
-
clipPath: "url(#Twitter_svg__b)"
|
|
11
|
-
}, /*#__PURE__*/React.createElement(Circle, {
|
|
12
|
-
cx: 20,
|
|
13
|
-
cy: 19.886,
|
|
14
|
-
r: 20,
|
|
15
|
-
fill: "#1D9BF0"
|
|
16
|
-
}), /*#__PURE__*/React.createElement(Circle, {
|
|
17
|
-
cx: 20,
|
|
18
|
-
cy: 19.886,
|
|
19
|
-
r: 19.5,
|
|
20
|
-
stroke: "#fff",
|
|
21
|
-
strokeOpacity: 0.1
|
|
22
|
-
}), /*#__PURE__*/React.createElement(Path, {
|
|
23
|
-
fill: "#fff",
|
|
24
|
-
d: "M30 13.81a8.189 8.189 0 0 1-2.357.646 4.11 4.11 0 0 0 1.805-2.27 8.22 8.22 0 0 1-2.606.996 4.096 4.096 0 0 0-2.995-1.296c-2.65 0-4.596 2.471-3.998 5.037a11.648 11.648 0 0 1-8.457-4.286 4.109 4.109 0 0 0 1.27 5.478 4.086 4.086 0 0 1-1.858-.513c-.045 1.9 1.318 3.679 3.291 4.075a4.114 4.114 0 0 1-1.853.07 4.106 4.106 0 0 0 3.833 2.849 8.25 8.25 0 0 1-6.075 1.7 11.616 11.616 0 0 0 6.29 1.843c7.618 0 11.922-6.434 11.663-12.205A8.354 8.354 0 0 0 30 13.81Z"
|
|
25
|
-
}))), /*#__PURE__*/React.createElement(Defs, null, /*#__PURE__*/React.createElement(ClipPath, {
|
|
26
|
-
id: "Twitter_svg__a"
|
|
27
|
-
}, /*#__PURE__*/React.createElement(Path, {
|
|
28
|
-
fill: "#fff",
|
|
29
|
-
d: "M0 20C0 8.954 8.954 0 20 0s20 8.954 20 20-8.954 20-20 20S0 31.046 0 20Z"
|
|
30
|
-
})), /*#__PURE__*/React.createElement(ClipPath, {
|
|
31
|
-
id: "Twitter_svg__b"
|
|
32
|
-
}, /*#__PURE__*/React.createElement(Path, {
|
|
33
|
-
fill: "#fff",
|
|
34
|
-
d: "M0 0h40v40H0z"
|
|
35
|
-
}))));
|
|
36
|
-
export default SvgTwitter;
|
|
37
|
-
//# sourceMappingURL=Twitter.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["Svg","G","Circle","Path","Defs","ClipPath","SvgTwitter","props","React","createElement","_extends","viewBox","fill","clipPath","cx","cy","r","stroke","strokeOpacity","d","id"],"sourceRoot":"../../../../src","sources":["assets/svg/Twitter.tsx"],"mappings":";AAAA,OAAOA,GAAG,IAAIC,CAAC,EAAEC,MAAM,EAAEC,IAAI,EAAEC,IAAI,EAAEC,QAAQ,QAAuB,kBAAkB;AACtF,MAAMC,UAAU,GAAIC,KAAe,iBACjCC,KAAA,CAAAC,aAAA,CAACT,GAAG,EAAAU,QAAA;EAACC,OAAO,EAAC;AAAW,GAAKJ,KAAK;EAAEK,IAAI,EAAC;AAAM,iBAC7CJ,KAAA,CAAAC,aAAA,CAACR,CAAC;EAACY,QAAQ,EAAC;AAAsB,gBAChCL,KAAA,CAAAC,aAAA,CAACR,CAAC;EAACY,QAAQ,EAAC;AAAsB,gBAChCL,KAAA,CAAAC,aAAA,CAACP,MAAM;EAACY,EAAE,EAAE,EAAG;EAACC,EAAE,EAAE,MAAO;EAACC,CAAC,EAAE,EAAG;EAACJ,IAAI,EAAC;AAAS,CAAE,CAAC,eACpDJ,KAAA,CAAAC,aAAA,CAACP,MAAM;EAACY,EAAE,EAAE,EAAG;EAACC,EAAE,EAAE,MAAO;EAACC,CAAC,EAAE,IAAK;EAACC,MAAM,EAAC,MAAM;EAACC,aAAa,EAAE;AAAI,CAAE,CAAC,eACzEV,KAAA,CAAAC,aAAA,CAACN,IAAI;EACHS,IAAI,EAAC,MAAM;EACXO,CAAC,EAAC;AAAuc,CAC1c,CACA,CACF,CAAC,eACJX,KAAA,CAAAC,aAAA,CAACL,IAAI,qBACHI,KAAA,CAAAC,aAAA,CAACJ,QAAQ;EAACe,EAAE,EAAC;AAAgB,gBAC3BZ,KAAA,CAAAC,aAAA,CAACN,IAAI;EACHS,IAAI,EAAC,MAAM;EACXO,CAAC,EAAC;AAAyE,CAC5E,CACO,CAAC,eACXX,KAAA,CAAAC,aAAA,CAACJ,QAAQ;EAACe,EAAE,EAAC;AAAgB,gBAC3BZ,KAAA,CAAAC,aAAA,CAACN,IAAI;EAACS,IAAI,EAAC,MAAM;EAACO,CAAC,EAAC;AAAe,CAAE,CAC7B,CACN,CACH,CACN;AACD,eAAeb,UAAU"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
-
import Svg, { Path } from 'react-native-svg';
|
|
3
|
-
const SvgTwitter = props => /*#__PURE__*/React.createElement(Svg, _extends({
|
|
4
|
-
viewBox: "0 0 16 16",
|
|
5
|
-
fill: "none"
|
|
6
|
-
}, props), /*#__PURE__*/React.createElement(Path, {
|
|
7
|
-
fill: props.fill || '#fff',
|
|
8
|
-
d: "m14.36 4.74.01.42c0 4.34-3.3 9.34-9.34 9.34A9.3 9.3 0 0 1 0 13.03a6.6 6.6 0 0 0 4.86-1.36 3.29 3.29 0 0 1-3.07-2.28c.5.1 1 .07 1.48-.06A3.28 3.28 0 0 1 .64 6.11v-.04c.46.26.97.4 1.49.41A3.29 3.29 0 0 1 1.11 2.1a9.32 9.32 0 0 0 6.77 3.43 3.28 3.28 0 0 1 5.6-3 6.59 6.59 0 0 0 2.08-.8 3.3 3.3 0 0 1-1.45 1.82A6.53 6.53 0 0 0 16 3.04c-.44.66-1 1.23-1.64 1.7Z"
|
|
9
|
-
}));
|
|
10
|
-
export default SvgTwitter;
|
|
11
|
-
//# sourceMappingURL=TwitterIcon.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["Svg","Path","SvgTwitter","props","React","createElement","_extends","viewBox","fill","d"],"sourceRoot":"../../../../src","sources":["assets/svg/TwitterIcon.tsx"],"mappings":";AAAA,OAAOA,GAAG,IAAIC,IAAI,QAAuB,kBAAkB;AAC3D,MAAMC,UAAU,GAAIC,KAAe,iBACjCC,KAAA,CAAAC,aAAA,CAACL,GAAG,EAAAM,QAAA;EAACC,OAAO,EAAC,WAAW;EAACC,IAAI,EAAC;AAAM,GAAKL,KAAK,gBAC5CC,KAAA,CAAAC,aAAA,CAACJ,IAAI;EACHO,IAAI,EAAEL,KAAK,CAACK,IAAI,IAAI,MAAO;EAC3BC,CAAC,EAAC;AAAqW,CACxW,CACE,CACN;AACD,eAAeP,UAAU"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Twitter.d.ts","sourceRoot":"","sources":["../../../../src/assets/svg/Twitter.tsx"],"names":[],"mappings":"AAAA,OAAY,EAAmC,KAAK,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvF,QAAA,MAAM,UAAU,UAAW,QAAQ,4CAwBlC,CAAC;AACF,eAAe,UAAU,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TwitterIcon.d.ts","sourceRoot":"","sources":["../../../../src/assets/svg/TwitterIcon.tsx"],"names":[],"mappings":"AAAA,OAAY,EAAQ,KAAK,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5D,QAAA,MAAM,UAAU,UAAW,QAAQ,4CAOlC,CAAC;AACF,eAAe,UAAU,CAAC"}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import Svg, { G, Circle, Path, Defs, ClipPath, type SvgProps } from 'react-native-svg';
|
|
2
|
-
const SvgTwitter = (props: SvgProps) => (
|
|
3
|
-
<Svg viewBox="0 0 40 40" {...props} fill="none">
|
|
4
|
-
<G clipPath="url(#Twitter_svg__a)">
|
|
5
|
-
<G clipPath="url(#Twitter_svg__b)">
|
|
6
|
-
<Circle cx={20} cy={19.886} r={20} fill="#1D9BF0" />
|
|
7
|
-
<Circle cx={20} cy={19.886} r={19.5} stroke="#fff" strokeOpacity={0.1} />
|
|
8
|
-
<Path
|
|
9
|
-
fill="#fff"
|
|
10
|
-
d="M30 13.81a8.189 8.189 0 0 1-2.357.646 4.11 4.11 0 0 0 1.805-2.27 8.22 8.22 0 0 1-2.606.996 4.096 4.096 0 0 0-2.995-1.296c-2.65 0-4.596 2.471-3.998 5.037a11.648 11.648 0 0 1-8.457-4.286 4.109 4.109 0 0 0 1.27 5.478 4.086 4.086 0 0 1-1.858-.513c-.045 1.9 1.318 3.679 3.291 4.075a4.114 4.114 0 0 1-1.853.07 4.106 4.106 0 0 0 3.833 2.849 8.25 8.25 0 0 1-6.075 1.7 11.616 11.616 0 0 0 6.29 1.843c7.618 0 11.922-6.434 11.663-12.205A8.354 8.354 0 0 0 30 13.81Z"
|
|
11
|
-
/>
|
|
12
|
-
</G>
|
|
13
|
-
</G>
|
|
14
|
-
<Defs>
|
|
15
|
-
<ClipPath id="Twitter_svg__a">
|
|
16
|
-
<Path
|
|
17
|
-
fill="#fff"
|
|
18
|
-
d="M0 20C0 8.954 8.954 0 20 0s20 8.954 20 20-8.954 20-20 20S0 31.046 0 20Z"
|
|
19
|
-
/>
|
|
20
|
-
</ClipPath>
|
|
21
|
-
<ClipPath id="Twitter_svg__b">
|
|
22
|
-
<Path fill="#fff" d="M0 0h40v40H0z" />
|
|
23
|
-
</ClipPath>
|
|
24
|
-
</Defs>
|
|
25
|
-
</Svg>
|
|
26
|
-
);
|
|
27
|
-
export default SvgTwitter;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import Svg, { Path, type SvgProps } from 'react-native-svg';
|
|
2
|
-
const SvgTwitter = (props: SvgProps) => (
|
|
3
|
-
<Svg viewBox="0 0 16 16" fill="none" {...props}>
|
|
4
|
-
<Path
|
|
5
|
-
fill={props.fill || '#fff'}
|
|
6
|
-
d="m14.36 4.74.01.42c0 4.34-3.3 9.34-9.34 9.34A9.3 9.3 0 0 1 0 13.03a6.6 6.6 0 0 0 4.86-1.36 3.29 3.29 0 0 1-3.07-2.28c.5.1 1 .07 1.48-.06A3.28 3.28 0 0 1 .64 6.11v-.04c.46.26.97.4 1.49.41A3.29 3.29 0 0 1 1.11 2.1a9.32 9.32 0 0 0 6.77 3.43 3.28 3.28 0 0 1 5.6-3 6.59 6.59 0 0 0 2.08-.8 3.3 3.3 0 0 1-1.45 1.82A6.53 6.53 0 0 0 16 3.04c-.44.66-1 1.23-1.64 1.7Z"
|
|
7
|
-
/>
|
|
8
|
-
</Svg>
|
|
9
|
-
);
|
|
10
|
-
export default SvgTwitter;
|