@coinbase/cdp-react 0.0.98 → 0.0.100
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/dist/components/AuthButton/index.d.ts +102 -0
- package/dist/components/CDPReactProvider/index.d.ts +114 -0
- package/dist/components/CopyAddress/index.d.ts +29 -0
- package/dist/components/CopyEvmKeyButton/index.d.ts +77 -0
- package/dist/components/CopySolanaKeyButton/index.d.ts +73 -0
- package/dist/components/EnrollMfa/EnrollMfaDescription.d.ts +21 -0
- package/dist/components/EnrollMfa/EnrollMfaFlow.d.ts +27 -0
- package/dist/components/EnrollMfa/EnrollMfaFlowBackButton.d.ts +19 -0
- package/dist/components/EnrollMfa/EnrollMfaFlowProvider.d.ts +52 -0
- package/dist/components/EnrollMfa/EnrollMfaFooter.d.ts +18 -0
- package/dist/components/EnrollMfa/EnrollMfaImage.d.ts +24 -0
- package/dist/components/EnrollMfa/EnrollMfaItem.d.ts +21 -0
- package/dist/components/EnrollMfa/EnrollMfaItems.d.ts +17 -0
- package/dist/components/EnrollMfa/EnrollMfaProvider.d.ts +35 -0
- package/dist/components/EnrollMfa/EnrollMfaTitle.d.ts +21 -0
- package/dist/components/EnrollMfa/index.d.ts +65 -0
- package/dist/components/EnrollMfa/methods/sms.d.ts +25 -0
- package/dist/components/EnrollMfa/methods/totp.d.ts +25 -0
- package/dist/components/EnrollMfa/types.d.ts +48 -0
- package/dist/components/EnrollMfa/useEnrollMfaReducer.d.ts +6 -0
- package/dist/components/EnrollMfaModal/index.d.ts +111 -0
- package/dist/components/ExportWallet/index.d.ts +163 -0
- package/dist/components/ExportWalletModal/index.d.ts +173 -0
- package/dist/components/Fund/FundForm.d.ts +18 -0
- package/dist/components/Fund/FundProvider.d.ts +17 -0
- package/dist/components/Fund/FundTitle.d.ts +12 -0
- package/dist/components/Fund/components/FundAmountInput.d.ts +13 -0
- package/dist/components/Fund/components/FundErrorScreen.d.ts +7 -0
- package/dist/components/Fund/components/FundPaymentMethods.d.ts +7 -0
- package/dist/components/Fund/components/FundPresetAmountInputs.d.ts +7 -0
- package/dist/components/Fund/components/FundTransactionStatus.d.ts +6 -0
- package/dist/components/Fund/hooks/useBuyUrl.d.ts +23 -0
- package/dist/components/Fund/hooks/useEmitLifecycleStatus.d.ts +12 -0
- package/dist/components/Fund/hooks/useExchangeRate.d.ts +17 -0
- package/dist/components/Fund/hooks/usePaymentMethods.d.ts +16 -0
- package/dist/components/Fund/hooks/usePopupMonitor.d.ts +9 -0
- package/dist/components/Fund/hooks/useSetupOnrampEventListeners.d.ts +6 -0
- package/dist/components/Fund/index.d.ts +87 -0
- package/dist/components/Fund/types.d.ts +137 -0
- package/dist/components/Fund/useFundReducer.d.ts +15 -0
- package/dist/components/Fund/utils/buildPaymentMethods.d.ts +15 -0
- package/dist/components/Fund/utils/setupOnrampEventListeners.d.ts +10 -0
- package/dist/components/Fund/utils/subscribeToWindowMessage.d.ts +27 -0
- package/dist/components/FundModal/index.d.ts +106 -0
- package/dist/components/LinkAuth/LinkAuthFlow.d.ts +25 -0
- package/dist/components/LinkAuth/LinkAuthFlowBackButton.d.ts +19 -0
- package/dist/components/LinkAuth/LinkAuthFlowProvider.d.ts +60 -0
- package/dist/components/LinkAuth/LinkAuthItem.d.ts +23 -0
- package/dist/components/LinkAuth/LinkAuthItems.d.ts +17 -0
- package/dist/components/LinkAuth/LinkAuthItems.js +30 -30
- package/dist/components/LinkAuth/LinkAuthProvider.d.ts +31 -0
- package/dist/components/LinkAuth/LinkAuthTitle.d.ts +17 -0
- package/dist/components/LinkAuth/index.d.ts +170 -0
- package/dist/components/LinkAuth/types.d.ts +31 -0
- package/dist/components/LinkAuth/utils.d.ts +12 -0
- package/dist/components/LinkAuthModal/index.d.ts +112 -0
- package/dist/components/OAuthStatusModal/index.d.ts +24 -0
- package/dist/components/SendEvmTransactionButton/index.d.ts +27 -0
- package/dist/components/SendSolanaTransactionButton/index.d.ts +27 -0
- package/dist/components/SignIn/SignInAuthMethodButtons.d.ts +26 -0
- package/dist/components/SignIn/SignInBackButton.d.ts +40 -0
- package/dist/components/SignIn/SignInCredentials.d.ts +13 -0
- package/dist/components/SignIn/SignInDescription.d.ts +35 -0
- package/dist/components/SignIn/SignInFooter.d.ts +27 -0
- package/dist/components/SignIn/SignInForm.d.ts +39 -0
- package/dist/components/SignIn/SignInImage.d.ts +38 -0
- package/dist/components/SignIn/SignInProvider.d.ts +54 -0
- package/dist/components/SignIn/SignInTitle.d.ts +35 -0
- package/dist/components/SignIn/flows/SignInWithEmail.d.ts +26 -0
- package/dist/components/SignIn/flows/SignInWithOAuth.d.ts +19 -0
- package/dist/components/SignIn/flows/SignInWithSms.d.ts +26 -0
- package/dist/components/SignIn/hooks/useEmailForm.d.ts +7 -0
- package/dist/components/SignIn/hooks/useOTPForm.d.ts +8 -0
- package/dist/components/SignIn/hooks/usePhoneNumberForm.d.ts +7 -0
- package/dist/components/SignIn/hooks/useSignInWithOAuth.d.ts +8 -0
- package/dist/components/SignIn/index.d.ts +124 -0
- package/dist/components/SignIn/types.d.ts +37 -0
- package/dist/components/SignIn/useSignInReducer.d.ts +9 -0
- package/dist/components/SignInModal/index.d.ts +123 -0
- package/dist/components/SignOutButton/index.d.ts +39 -0
- package/dist/components/ThemeProvider/index.d.ts +70 -0
- package/dist/components/VerifyMfa/VerifyMfaDescription.d.ts +24 -0
- package/dist/components/VerifyMfa/VerifyMfaFlow.d.ts +30 -0
- package/dist/components/VerifyMfa/VerifyMfaFlowBackButton.d.ts +19 -0
- package/dist/components/VerifyMfa/VerifyMfaFlowProvider.d.ts +51 -0
- package/dist/components/VerifyMfa/VerifyMfaFooter.d.ts +18 -0
- package/dist/components/VerifyMfa/VerifyMfaImage.d.ts +23 -0
- package/dist/components/VerifyMfa/VerifyMfaItem.d.ts +20 -0
- package/dist/components/VerifyMfa/VerifyMfaItems.d.ts +18 -0
- package/dist/components/VerifyMfa/VerifyMfaProvider.d.ts +40 -0
- package/dist/components/VerifyMfa/VerifyMfaTitle.d.ts +24 -0
- package/dist/components/VerifyMfa/index.d.ts +55 -0
- package/dist/components/VerifyMfa/methods/sms.d.ts +29 -0
- package/dist/components/VerifyMfa/methods/totp.d.ts +29 -0
- package/dist/components/VerifyMfa/types.d.ts +33 -0
- package/dist/components/VerifyMfa/useVerifyMfaReducer.d.ts +7 -0
- package/dist/components/VerifyMfaInline/index.d.ts +212 -0
- package/dist/components/VerifyMfaModal/index.d.ts +114 -0
- package/dist/components/forms/AmountInput/index.d.ts +16 -0
- package/dist/components/forms/AmountInput/types.d.ts +9 -0
- package/dist/components/forms/AmountInput/useAmountInput.d.ts +14 -0
- package/dist/components/forms/AmountInput/useInputScale.d.ts +12 -0
- package/dist/components/forms/AmountInput/useNumberParseAndFormat.d.ts +20 -0
- package/dist/components/forms/CountrySelect/index.d.ts +9 -0
- package/dist/components/forms/EmailForm/index.d.ts +17 -0
- package/dist/components/forms/ExchangeAmountInput/index.d.ts +19 -0
- package/dist/components/forms/ExchangeAmountInput/types.d.ts +12 -0
- package/dist/components/forms/ExchangeAmountInput/useExchangeAmountInput.d.ts +17 -0
- package/dist/components/forms/Field/index.d.ts +15 -0
- package/dist/components/forms/Input/index.d.ts +15 -0
- package/dist/components/forms/Label/index.d.ts +8 -0
- package/dist/components/forms/OTP/index.d.ts +6 -0
- package/dist/components/forms/OTPForm/index.d.ts +20 -0
- package/dist/components/forms/PhoneNumberForm/index.d.ts +27 -0
- package/dist/components/forms/PhoneNumberInput/index.d.ts +16 -0
- package/dist/components/forms/PhoneNumberInput/maskOverride.d.ts +6 -0
- package/dist/components/forms/PhoneNumberInput/usePhoneNumberFormatter.d.ts +7 -0
- package/dist/components/forms/Select/index.d.ts +30 -0
- package/dist/components/ui/Badge/index.d.ts +19 -0
- package/dist/components/ui/Banner/index.d.ts +25 -0
- package/dist/components/ui/Button/index.d.ts +50 -0
- package/dist/components/ui/ButtonBase/index.d.ts +20 -0
- package/dist/components/ui/CoinbaseFooter/index.d.ts +16 -0
- package/dist/components/ui/CopyTextField/index.d.ts +35 -0
- package/dist/components/ui/Error/index.d.ts +14 -0
- package/dist/components/ui/IframeButton/index.d.ts +17 -0
- package/dist/components/ui/LoadingSkeleton/index.d.ts +22 -0
- package/dist/components/ui/LoadingSpinner/index.d.ts +11 -0
- package/dist/components/ui/Modal/index.d.ts +82 -0
- package/dist/components/ui/QRCode/QRCodeSvg.d.ts +35 -0
- package/dist/components/ui/QRCode/index.d.ts +7 -0
- package/dist/components/ui/QRCode/useCorners.d.ts +9 -0
- package/dist/components/ui/QRCode/useDotsPath.d.ts +18 -0
- package/dist/components/ui/QRCode/useLogo.d.ts +18 -0
- package/dist/components/ui/QRCode/useMatrix.d.ts +7 -0
- package/dist/components/ui/ServerError/index.d.ts +6 -0
- package/dist/components/ui/SuccessMessage/index.d.ts +14 -0
- package/dist/components/ui/SwitchFadeTransition/index.d.ts +15 -0
- package/dist/components/ui/SwitchSlideTransition/index.d.ts +16 -0
- package/dist/components/ui/SwitchTransition/index.d.ts +42 -0
- package/dist/components/ui/ToggleListItem/index.d.ts +31 -0
- package/dist/components/ui/VisuallyHidden/index.d.ts +18 -0
- package/dist/data/countries.d.ts +15 -0
- package/dist/data/countryNames.d.ts +4 -0
- package/dist/hooks/useKeyExportPostMessage.d.ts +25 -0
- package/dist/hooks/usePhoneNumberState.d.ts +47 -0
- package/dist/hooks/usePhoneNumberValidators.d.ts +8 -0
- package/dist/hooks/useTimeout.d.ts +18 -0
- package/dist/hooks/useTimer.d.ts +6 -0
- package/dist/hooks/useTransitionMap.d.ts +22 -0
- package/dist/hooks/useVerifyMfaModal.d.ts +78 -0
- package/dist/icons/IconAppleLogo.d.ts +22 -0
- package/dist/icons/IconArrowLeft.d.ts +22 -0
- package/dist/icons/IconArrowsUpDown.d.ts +22 -0
- package/dist/icons/IconCheck.d.ts +22 -0
- package/dist/icons/IconCheckCircle.d.ts +21 -0
- package/dist/icons/IconChevronDown.d.ts +22 -0
- package/dist/icons/IconCoinbaseMark.d.ts +22 -0
- package/dist/icons/IconCoinbaseWordmark.d.ts +22 -0
- package/dist/icons/IconCopy.d.ts +22 -0
- package/dist/icons/IconCreditCard.d.ts +22 -0
- package/dist/icons/IconCurrencies.d.ts +22 -0
- package/dist/icons/IconEnvelope.d.ts +22 -0
- package/dist/icons/IconExclamationCircle.d.ts +22 -0
- package/dist/icons/IconExclamationTriangle.d.ts +22 -0
- package/dist/icons/IconGoogleColorLogo.d.ts +22 -0
- package/dist/icons/IconGoogleLogo.d.ts +22 -0
- package/dist/icons/IconLock.d.ts +22 -0
- package/dist/icons/IconMinus.d.ts +21 -0
- package/dist/icons/IconPhone.d.ts +22 -0
- package/dist/icons/IconPinCode.d.ts +22 -0
- package/dist/icons/IconPlus.d.ts +21 -0
- package/dist/icons/IconShield.d.ts +22 -0
- package/dist/icons/IconSmartPhone.d.ts +22 -0
- package/dist/icons/IconTelegramLogo.d.ts +22 -0
- package/dist/icons/IconXLogo.d.ts +22 -0
- package/dist/icons/IconXMark.d.ts +22 -0
- package/dist/icons/SvgIcon.d.ts +6 -0
- package/dist/theme/cssVariables.d.ts +10 -0
- package/dist/theme/theme.d.ts +246 -0
- package/dist/theme/tokens.d.ts +54 -0
- package/dist/theme/utils.d.ts +63 -0
- package/dist/types/secureIframe.d.ts +3 -0
- package/dist/utils/capitalize.d.ts +8 -0
- package/dist/utils/childrenHasComponent.d.ts +10 -0
- package/dist/utils/clamp.d.ts +10 -0
- package/dist/utils/formatFiat.d.ts +11 -0
- package/dist/utils/formatPhoneNumber.d.ts +8 -0
- package/dist/utils/getMessageFromUnknownError.d.ts +9 -0
- package/dist/utils/isApiError.d.ts +21 -0
- package/dist/utils/isEmailInvalid.d.ts +15 -0
- package/dist/utils/openPopup.d.ts +15 -0
- package/dist/utils/parseValuesFromPhoneNumber.d.ts +16 -0
- package/dist/utils/sendIframeMessage.d.ts +8 -0
- package/dist/utils/toOAuthProviderType.d.ts +8 -0
- package/dist/utils/transition.d.ts +41 -0
- package/dist/version.d.ts +5 -1
- package/dist/version.js +1 -1
- package/package.json +5 -5
|
@@ -1,22 +1,100 @@
|
|
|
1
1
|
import { ReactNode, RefObject } from 'react';
|
|
2
2
|
import { VerifyMfaModalProps } from '../components/VerifyMfaModal';
|
|
3
|
+
/**
|
|
4
|
+
* Options for the useVerifyMfaModal hook.
|
|
5
|
+
*/
|
|
3
6
|
export interface UseVerifyMfaModalOptions extends Pick<VerifyMfaModalProps, "onCancel" | "onError" | "onSuccess"> {
|
|
7
|
+
/**
|
|
8
|
+
* The delay in milliseconds before the modal is closed after successful verification.
|
|
9
|
+
* If `null`, the modal will not close automatically after success.
|
|
10
|
+
* If `0`, the modal closes immediately.
|
|
11
|
+
* Defaults to 500ms.
|
|
12
|
+
*
|
|
13
|
+
* @default 500
|
|
14
|
+
*/
|
|
4
15
|
closeOnSuccessDelay?: number | null;
|
|
5
16
|
}
|
|
17
|
+
/**
|
|
18
|
+
* Return value of the useVerifyMfaModal hook.
|
|
19
|
+
*/
|
|
6
20
|
export interface UseVerifyMfaModalReturn {
|
|
21
|
+
/** Opens the MFA verification modal. Returns true if opened, false if a modal is already open. */
|
|
7
22
|
open: () => boolean;
|
|
23
|
+
/** Closes the MFA verification modal */
|
|
8
24
|
close: () => void;
|
|
9
25
|
}
|
|
10
26
|
interface VerifyMfaModalContextValue {
|
|
27
|
+
/** Registers a modal instance with its options ref */
|
|
11
28
|
register: (id: string, optionsRef: RefObject<UseVerifyMfaModalOptions>) => void;
|
|
29
|
+
/** Unregisters a modal instance */
|
|
12
30
|
unregister: (id: string) => void;
|
|
31
|
+
/** Opens the modal for a specific instance. Returns true if opened, false if already open. */
|
|
13
32
|
open: (id: string) => boolean;
|
|
33
|
+
/** Closes the currently open modal */
|
|
14
34
|
close: () => void;
|
|
15
35
|
}
|
|
16
36
|
interface MfaVerificationProviderProps {
|
|
17
37
|
children: ReactNode;
|
|
18
38
|
}
|
|
39
|
+
/**
|
|
40
|
+
* Provider component that manages MFA verification UI coordination.
|
|
41
|
+
*
|
|
42
|
+
* This provider:
|
|
43
|
+
* - Enables the `useVerifyMfaModal` hook for programmatic modal control
|
|
44
|
+
* - Registers a global MFA handler that respects the `mfa.disableAutoPrompt` config
|
|
45
|
+
* - Supports multiple CDPReactProvider instances on the same page
|
|
46
|
+
*
|
|
47
|
+
* This is automatically included in `CDPReactProvider`.
|
|
48
|
+
*
|
|
49
|
+
* @param {MfaVerificationProviderProps} props - The props for the MfaVerificationProvider component.
|
|
50
|
+
* @param {ReactNode} props.children - The children of the MfaVerificationProvider component.
|
|
51
|
+
* @returns {JSX.Element} The MfaVerificationProvider component.
|
|
52
|
+
* @internal
|
|
53
|
+
*/
|
|
19
54
|
export declare const VerifyMfaModalProvider: ({ children }: MfaVerificationProviderProps) => import("react/jsx-runtime").JSX.Element;
|
|
55
|
+
/**
|
|
56
|
+
* Hook to imperatively control the MFA verification modal.
|
|
57
|
+
*
|
|
58
|
+
* This hook allows you to open and close the MFA verification modal programmatically,
|
|
59
|
+
* which is useful for integrating MFA verification into complex flows without using
|
|
60
|
+
* the `<VerifyMfaModal />` component pattern.
|
|
61
|
+
*
|
|
62
|
+
* @param {UseVerifyMfaModalOptions} options - The options for the hook including callbacks.
|
|
63
|
+
* @returns {UseVerifyMfaModalReturn} An object containing `open` and `close` functions.
|
|
64
|
+
*
|
|
65
|
+
* @group Hooks
|
|
66
|
+
*
|
|
67
|
+
* @example
|
|
68
|
+
* ```tsx lines
|
|
69
|
+
* function ProtectedAction() {
|
|
70
|
+
* const { open } = useVerifyMfaModal({
|
|
71
|
+
* onSuccess: () => performSensitiveAction(),
|
|
72
|
+
* onError: (error) => console.error("MFA verification failed:", error),
|
|
73
|
+
* onCancel: () => console.log("MFA verification cancelled"),
|
|
74
|
+
* });
|
|
75
|
+
*
|
|
76
|
+
* const handleClick = () => {
|
|
77
|
+
* const opened = open(); // Returns false if modal is already open
|
|
78
|
+
* if (!opened) {
|
|
79
|
+
* console.log("MFA modal is already open");
|
|
80
|
+
* }
|
|
81
|
+
* };
|
|
82
|
+
*
|
|
83
|
+
* return (
|
|
84
|
+
* <button onClick={handleClick}>
|
|
85
|
+
* Perform sensitive action
|
|
86
|
+
* </button>
|
|
87
|
+
* );
|
|
88
|
+
* }
|
|
89
|
+
* ```
|
|
90
|
+
*/
|
|
20
91
|
export declare const useVerifyMfaModal: (options?: UseVerifyMfaModalOptions) => UseVerifyMfaModalReturn;
|
|
92
|
+
/**
|
|
93
|
+
* Hook to access the MFA verification context for coordination.
|
|
94
|
+
* Used internally by MfaFlow to coordinate with the global modal.
|
|
95
|
+
*
|
|
96
|
+
* @returns The MFA verification context value with default values if not in a provider.
|
|
97
|
+
* @internal
|
|
98
|
+
*/
|
|
21
99
|
export declare const useMfaVerification: () => VerifyMfaModalContextValue;
|
|
22
100
|
export {};
|
|
@@ -1,2 +1,24 @@
|
|
|
1
1
|
import { SVGProps } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Apple logo icon component.
|
|
4
|
+
*
|
|
5
|
+
* @param {SVGProps<SVGSVGElement>} props - The props for the icon.
|
|
6
|
+
* @returns {JSX.Element} The Apple logo icon.
|
|
7
|
+
*
|
|
8
|
+
* @group Components
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* ```tsx
|
|
12
|
+
* // Icon is correctly hidden from screen readers
|
|
13
|
+
* <p>
|
|
14
|
+
* <IconAppleLogo />
|
|
15
|
+
* Apple
|
|
16
|
+
* </p>
|
|
17
|
+
*
|
|
18
|
+
* // Icon with screen-reader accessible label only
|
|
19
|
+
* <p>
|
|
20
|
+
* <IconAppleLogo aria-label="Apple" />
|
|
21
|
+
* </p>
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
2
24
|
export declare const IconAppleLogo: (props: Omit<SVGProps<SVGSVGElement>, "viewBox">) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,2 +1,24 @@
|
|
|
1
1
|
import { SVGProps } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Arrow Left icon component.
|
|
4
|
+
*
|
|
5
|
+
* @param {SVGProps<SVGSVGElement>} props - The props for the icon.
|
|
6
|
+
* @returns {JSX.Element} The Arrow Left icon.
|
|
7
|
+
*
|
|
8
|
+
* @group Components
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* ```tsx lines
|
|
12
|
+
* // Icon is correctly hidden from screen readers
|
|
13
|
+
* <p>
|
|
14
|
+
* <IconArrowLeft />
|
|
15
|
+
* Back
|
|
16
|
+
* </p>
|
|
17
|
+
*
|
|
18
|
+
* // Icon with screen-reader accessible label only
|
|
19
|
+
* <p>
|
|
20
|
+
* <IconArrowLeft aria-label="Back" />
|
|
21
|
+
* </p>
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
2
24
|
export declare const IconArrowLeft: (props: Omit<SVGProps<SVGSVGElement>, "viewBox">) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,2 +1,24 @@
|
|
|
1
1
|
import { SVGProps } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Arrows Up/Down icon component.
|
|
4
|
+
*
|
|
5
|
+
* @param {SVGProps<SVGSVGElement>} props - The props for the icon.
|
|
6
|
+
* @returns {JSX.Element} The Arrow Left icon.
|
|
7
|
+
*
|
|
8
|
+
* @group Components
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* ```tsx lines
|
|
12
|
+
* // Icon is correctly hidden from screen readers
|
|
13
|
+
* <p>
|
|
14
|
+
* <IconArrowsUpDown />
|
|
15
|
+
* Swap
|
|
16
|
+
* </p>
|
|
17
|
+
*
|
|
18
|
+
* // Icon with screen-reader accessible label only
|
|
19
|
+
* <p>
|
|
20
|
+
* <IconArrowsUpDown aria-label="Swap" />
|
|
21
|
+
* </p>
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
2
24
|
export declare const IconArrowsUpDown: (props: Omit<SVGProps<SVGSVGElement>, "viewBox">) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,2 +1,24 @@
|
|
|
1
1
|
import { SVGProps } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Check Circle icon component.
|
|
4
|
+
*
|
|
5
|
+
* @param {SVGProps<SVGSVGElement>} props - The props for the icon.
|
|
6
|
+
* @returns {JSX.Element} The Check Circle icon.
|
|
7
|
+
*
|
|
8
|
+
* @group Components
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* ```tsx lines
|
|
12
|
+
* // Icon is correctly from screen readers
|
|
13
|
+
* <p>
|
|
14
|
+
* <IconCheck />
|
|
15
|
+
* Success!
|
|
16
|
+
* </p>
|
|
17
|
+
*
|
|
18
|
+
* // Icon with screen-reader accessible label only
|
|
19
|
+
* <p>
|
|
20
|
+
* <IconCheck aria-label="Success" />
|
|
21
|
+
* </p>
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
2
24
|
export declare const IconCheck: (props: Omit<SVGProps<SVGSVGElement>, "viewBox">) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,2 +1,23 @@
|
|
|
1
1
|
import { SVGProps } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Check Circle icon component.
|
|
4
|
+
*
|
|
5
|
+
* @param {SVGProps<SVGSVGElement>} props - The props for the icon.
|
|
6
|
+
* @returns {JSX.Element} The Check Circle icon.
|
|
7
|
+
*
|
|
8
|
+
* @group Components
|
|
9
|
+
* @example
|
|
10
|
+
* ```tsx lines
|
|
11
|
+
* // Icon is correctly from screen readers
|
|
12
|
+
* <p>
|
|
13
|
+
* <IconCheckCircle />
|
|
14
|
+
* Success!
|
|
15
|
+
* </p>
|
|
16
|
+
*
|
|
17
|
+
* // Icon with screen-reader accessible label only
|
|
18
|
+
* <p>
|
|
19
|
+
* <IconCheckCircle aria-label="Success" />
|
|
20
|
+
* </p>
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
2
23
|
export declare const IconCheckCircle: (props: Omit<SVGProps<SVGSVGElement>, "viewBox">) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,2 +1,24 @@
|
|
|
1
1
|
import { SVGProps } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Chevron down icon component.
|
|
4
|
+
*
|
|
5
|
+
* @param {SVGProps<SVGSVGElement>} props - The props for the icon.
|
|
6
|
+
* @returns {JSX.Element} The chevron down icon.
|
|
7
|
+
*
|
|
8
|
+
* @group Components
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* ```tsx lines
|
|
12
|
+
* // Icon is correctly hidden from screen readers
|
|
13
|
+
* <p>
|
|
14
|
+
* <IconChevronDown />
|
|
15
|
+
* Expand
|
|
16
|
+
* </p>
|
|
17
|
+
*
|
|
18
|
+
* // Icon with screen-reader accessible label only
|
|
19
|
+
* <p>
|
|
20
|
+
* <IconChevronDown aria-label="Expand" />
|
|
21
|
+
* </p>
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
2
24
|
export declare const IconChevronDown: (props: Omit<SVGProps<SVGSVGElement>, "viewBox">) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,2 +1,24 @@
|
|
|
1
1
|
import { SVGProps } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Coinbase mark icon component.
|
|
4
|
+
*
|
|
5
|
+
* @param {SVGProps<SVGSVGElement>} props - The props for the icon.
|
|
6
|
+
* @returns {JSX.Element} The Coinbase mark icon.
|
|
7
|
+
*
|
|
8
|
+
* @group Components
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* ```tsx
|
|
12
|
+
* // Icon is correctly hidden from screen readers
|
|
13
|
+
* <p>
|
|
14
|
+
* <IconCoinbaseMark />
|
|
15
|
+
* Coinbase
|
|
16
|
+
* </p>
|
|
17
|
+
*
|
|
18
|
+
* // Icon with screen-reader accessible label only
|
|
19
|
+
* <p>
|
|
20
|
+
* <IconCoinbaseMark aria-label="Coinbase" />
|
|
21
|
+
* </p>
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
2
24
|
export declare const IconCoinbaseMark: (props: Omit<SVGProps<SVGSVGElement>, "viewBox">) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,2 +1,24 @@
|
|
|
1
1
|
import { SVGProps } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Coinbase Wordmark icon component.
|
|
4
|
+
*
|
|
5
|
+
* @param {SVGProps<SVGSVGElement>} props - The props for the icon.
|
|
6
|
+
* @returns {JSX.Element} The Coinbase Wordmark icon.
|
|
7
|
+
*
|
|
8
|
+
* @group Components
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* ```tsx lines
|
|
12
|
+
* // Icon is correctly from screen readers
|
|
13
|
+
* <p>
|
|
14
|
+
* <IconCoinbaseWordmark />
|
|
15
|
+
* Coinbase
|
|
16
|
+
* </p>
|
|
17
|
+
*
|
|
18
|
+
* // Icon with screen-reader accessible label only
|
|
19
|
+
* <p>
|
|
20
|
+
* <IconCoinbaseWordmark aria-label="Coinbase" />
|
|
21
|
+
* </p>
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
2
24
|
export declare const IconCoinbaseWordmark: (props: Omit<SVGProps<SVGSVGElement>, "viewBox">) => import("react/jsx-runtime").JSX.Element;
|
package/dist/icons/IconCopy.d.ts
CHANGED
|
@@ -1,2 +1,24 @@
|
|
|
1
1
|
import { SVGProps } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Copy icon component.
|
|
4
|
+
*
|
|
5
|
+
* @param {SVGProps<SVGSVGElement>} props - The props for the icon.
|
|
6
|
+
* @returns {JSX.Element} The copy icon.
|
|
7
|
+
*
|
|
8
|
+
* @group Components
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* ```tsx
|
|
12
|
+
* // Icon is correctly hidden from screen readers
|
|
13
|
+
* <button type="button" onClick={handleClick}>
|
|
14
|
+
* <IconCopy />
|
|
15
|
+
* Copy address
|
|
16
|
+
* </button>
|
|
17
|
+
*
|
|
18
|
+
* // Icon with screen-reader accessible label only
|
|
19
|
+
* <button type="button" onClick={handleClick}>
|
|
20
|
+
* <IconCopy aria-label="Copy address" />
|
|
21
|
+
* </button>
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
2
24
|
export declare const IconCopy: (props: Omit<SVGProps<SVGSVGElement>, "viewBox">) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,2 +1,24 @@
|
|
|
1
1
|
import { SVGProps } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Credit card icon component.
|
|
4
|
+
*
|
|
5
|
+
* @param {SVGProps<SVGSVGElement>} props - The props for the icon.
|
|
6
|
+
* @returns {JSX.Element} The credit card icon.
|
|
7
|
+
*
|
|
8
|
+
* @group Components
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* ```tsx
|
|
12
|
+
* // Icon is correctly hidden from screen readers
|
|
13
|
+
* <p>
|
|
14
|
+
* <IconCreditCard />
|
|
15
|
+
* Pay with Debit Card
|
|
16
|
+
* </p>
|
|
17
|
+
*
|
|
18
|
+
* // Icon with screen-reader accessible label only
|
|
19
|
+
* <p>
|
|
20
|
+
* <IconCreditCard aria-label="Pay with Debit Card" />
|
|
21
|
+
* </p>
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
2
24
|
export declare const IconCreditCard: (props: Omit<SVGProps<SVGSVGElement>, "viewBox">) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,2 +1,24 @@
|
|
|
1
1
|
import { SVGProps } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Currencies icon component.
|
|
4
|
+
*
|
|
5
|
+
* @param {SVGProps<SVGSVGElement>} props - The props for the icon.
|
|
6
|
+
* @returns {JSX.Element} The currencies icon.
|
|
7
|
+
*
|
|
8
|
+
* @group Components
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* ```tsx
|
|
12
|
+
* // Icon is correctly hidden from screen readers
|
|
13
|
+
* <p>
|
|
14
|
+
* <IconCurrencies />
|
|
15
|
+
* Waiting for payment
|
|
16
|
+
* </p>
|
|
17
|
+
*
|
|
18
|
+
* // Icon with screen-reader accessible label only
|
|
19
|
+
* <p>
|
|
20
|
+
* <IconCurrencies aria-label="Waiting for payment" />
|
|
21
|
+
* </p>
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
2
24
|
export declare const IconCurrencies: (props: Omit<SVGProps<SVGSVGElement>, "viewBox">) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,2 +1,24 @@
|
|
|
1
1
|
import { SVGProps } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Envelope icon component.
|
|
4
|
+
*
|
|
5
|
+
* @param {SVGProps<SVGSVGElement>} props - The props for the icon.
|
|
6
|
+
* @returns {JSX.Element} The Envelope icon.
|
|
7
|
+
*
|
|
8
|
+
* @group Components
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* ```tsx lines
|
|
12
|
+
* // Icon is correctly from screen readers
|
|
13
|
+
* <p>
|
|
14
|
+
* <IconEnvelope />
|
|
15
|
+
* Email me a code
|
|
16
|
+
* </p>
|
|
17
|
+
*
|
|
18
|
+
* // Icon with screen-reader accessible label only
|
|
19
|
+
* <p>
|
|
20
|
+
* <IconEnvelope aria-label="Email me a code" />
|
|
21
|
+
* </p>
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
2
24
|
export declare const IconEnvelope: (props: Omit<SVGProps<SVGSVGElement>, "viewBox">) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,2 +1,24 @@
|
|
|
1
1
|
import { SVGProps } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Exclamation Circle icon component.
|
|
4
|
+
*
|
|
5
|
+
* @param {SVGProps<SVGSVGElement>} props - The props for the icon.
|
|
6
|
+
* @returns {JSX.Element} The Exclamation Circle icon.
|
|
7
|
+
*
|
|
8
|
+
* @group Components
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* ```tsx lines
|
|
12
|
+
* // Icon is correctly from screen readers
|
|
13
|
+
* <p>
|
|
14
|
+
* <IconExclamationCircle />
|
|
15
|
+
* Warning!
|
|
16
|
+
* </p>
|
|
17
|
+
*
|
|
18
|
+
* // Icon with screen-reader accessible label only
|
|
19
|
+
* <p>
|
|
20
|
+
* <IconExclamationCircle aria-label="Warning" />
|
|
21
|
+
* </p>
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
2
24
|
export declare const IconExclamationCircle: (props: Omit<SVGProps<SVGSVGElement>, "viewBox">) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,2 +1,24 @@
|
|
|
1
1
|
import { SVGProps } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Exclamation Triangle icon component.
|
|
4
|
+
*
|
|
5
|
+
* @param {SVGProps<SVGSVGElement>} props - The props for the icon.
|
|
6
|
+
* @returns {JSX.Element} The Exclamation Triangle icon.
|
|
7
|
+
*
|
|
8
|
+
* @group Components
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* ```tsx lines
|
|
12
|
+
* // Icon is correctly hidden from screen readers
|
|
13
|
+
* <p>
|
|
14
|
+
* <IconExclamationTriangle />
|
|
15
|
+
* Warning!
|
|
16
|
+
* </p>
|
|
17
|
+
*
|
|
18
|
+
* // Icon with screen-reader accessible label only
|
|
19
|
+
* <p>
|
|
20
|
+
* <IconExclamationTriangle aria-label="Warning" />
|
|
21
|
+
* </p>
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
2
24
|
export declare const IconExclamationTriangle: (props: Omit<SVGProps<SVGSVGElement>, "viewBox">) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,2 +1,24 @@
|
|
|
1
1
|
import { SVGProps } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Colored Google logo icon component.
|
|
4
|
+
*
|
|
5
|
+
* @param {SVGProps<SVGSVGElement>} props - The props for the icon.
|
|
6
|
+
* @returns {JSX.Element} The Google logo icon.
|
|
7
|
+
*
|
|
8
|
+
* @group Components
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* ```tsx lines
|
|
12
|
+
* // Icon is correctly hidden from screen readers
|
|
13
|
+
* <p>
|
|
14
|
+
* <IconGoogleColorLogo />
|
|
15
|
+
* Google
|
|
16
|
+
* </p>
|
|
17
|
+
*
|
|
18
|
+
* // Icon with screen-reader accessible label only
|
|
19
|
+
* <p>
|
|
20
|
+
* <IconGoogleColorLogo aria-label="Google" />
|
|
21
|
+
* </p>
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
2
24
|
export declare const IconGoogleColorLogo: (props: Omit<SVGProps<SVGSVGElement>, "viewBox">) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,2 +1,24 @@
|
|
|
1
1
|
import { SVGProps } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Google logo icon component.
|
|
4
|
+
*
|
|
5
|
+
* @param {SVGProps<SVGSVGElement>} props - The props for the icon.
|
|
6
|
+
* @returns {JSX.Element} The Google logo icon.
|
|
7
|
+
*
|
|
8
|
+
* @group Components
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* ```tsx lines
|
|
12
|
+
* // Icon is correctly hidden from screen readers
|
|
13
|
+
* <p>
|
|
14
|
+
* <IconGoogleLogo />
|
|
15
|
+
* Google
|
|
16
|
+
* </p>
|
|
17
|
+
*
|
|
18
|
+
* // Icon with screen-reader accessible label only
|
|
19
|
+
* <p>
|
|
20
|
+
* <IconGoogleLogo aria-label="Google" />
|
|
21
|
+
* </p>
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
2
24
|
export declare const IconGoogleLogo: (props: Omit<SVGProps<SVGSVGElement>, "viewBox">) => import("react/jsx-runtime").JSX.Element;
|
package/dist/icons/IconLock.d.ts
CHANGED
|
@@ -1,2 +1,24 @@
|
|
|
1
1
|
import { SVGProps } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Lock icon component.
|
|
4
|
+
*
|
|
5
|
+
* @param {SVGProps<SVGSVGElement>} props - The props for the icon.
|
|
6
|
+
* @returns {JSX.Element} The Lock icon.
|
|
7
|
+
*
|
|
8
|
+
* @group Components
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* ```tsx lines
|
|
12
|
+
* // Icon is correctly from screen readers
|
|
13
|
+
* <p>
|
|
14
|
+
* <IconLock />
|
|
15
|
+
* Locked
|
|
16
|
+
* </p>
|
|
17
|
+
*
|
|
18
|
+
* // Icon with screen-reader accessible label only
|
|
19
|
+
* <p>
|
|
20
|
+
* <IconLock aria-label="locked" />
|
|
21
|
+
* </p>
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
2
24
|
export declare const IconLock: (props: Omit<SVGProps<SVGSVGElement>, "viewBox">) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,2 +1,23 @@
|
|
|
1
1
|
import { SVGProps } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Minus icon component.
|
|
4
|
+
*
|
|
5
|
+
* @param {SVGProps<SVGSVGElement>} props - The props for the icon.
|
|
6
|
+
* @returns {JSX.Element} The Minus icon.
|
|
7
|
+
*
|
|
8
|
+
* @group Components
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* ```tsx lines
|
|
12
|
+
* // Icon is correctly from screen readers
|
|
13
|
+
* <p>
|
|
14
|
+
* <IconMinus />
|
|
15
|
+
* </p>
|
|
16
|
+
*
|
|
17
|
+
* // Icon with screen-reader accessible label only
|
|
18
|
+
* <p>
|
|
19
|
+
* <IconMinus aria-label="Minus" />
|
|
20
|
+
* </p>
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
2
23
|
export declare const IconMinus: (props: Omit<SVGProps<SVGSVGElement>, "viewBox">) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,2 +1,24 @@
|
|
|
1
1
|
import { SVGProps } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Phone icon component.
|
|
4
|
+
*
|
|
5
|
+
* @param {SVGProps<SVGSVGElement>} props - The props for the icon.
|
|
6
|
+
* @returns {JSX.Element} The chat bubble icon.
|
|
7
|
+
*
|
|
8
|
+
* @group Components
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* ```tsx lines
|
|
12
|
+
* // Icon is correctly from screen readers
|
|
13
|
+
* <p>
|
|
14
|
+
* <IconPhone />
|
|
15
|
+
* Text me a code
|
|
16
|
+
* </p>
|
|
17
|
+
*
|
|
18
|
+
* // Icon with screen-reader accessible label only
|
|
19
|
+
* <p>
|
|
20
|
+
* <IconPhone aria-label="Text me a code" />
|
|
21
|
+
* </p>
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
2
24
|
export declare const IconPhone: (props: Omit<SVGProps<SVGSVGElement>, "viewBox">) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,2 +1,24 @@
|
|
|
1
1
|
import { SVGProps } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Pin code icon component.
|
|
4
|
+
*
|
|
5
|
+
* @param {SVGProps<SVGSVGElement>} props - The props for the icon.
|
|
6
|
+
* @returns {JSX.Element} The chat bubble icon.
|
|
7
|
+
*
|
|
8
|
+
* @group Components
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* ```tsx lines
|
|
12
|
+
* // Icon is correctly from screen readers
|
|
13
|
+
* <p>
|
|
14
|
+
* <IconPinCode />
|
|
15
|
+
* Enter code from your authenticator app
|
|
16
|
+
* </p>
|
|
17
|
+
*
|
|
18
|
+
* // Icon with screen-reader accessible label only
|
|
19
|
+
* <p>
|
|
20
|
+
* <IconPinCode aria-label="Enter code from your authenticator app" />
|
|
21
|
+
* </p>
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
2
24
|
export declare const IconPinCode: (props: Omit<SVGProps<SVGSVGElement>, "viewBox">) => import("react/jsx-runtime").JSX.Element;
|
package/dist/icons/IconPlus.d.ts
CHANGED
|
@@ -1,2 +1,23 @@
|
|
|
1
1
|
import { SVGProps } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Plus icon component.
|
|
4
|
+
*
|
|
5
|
+
* @param {SVGProps<SVGSVGElement>} props - The props for the icon.
|
|
6
|
+
* @returns {JSX.Element} The Plus icon.
|
|
7
|
+
*
|
|
8
|
+
* @group Components
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* ```tsx lines
|
|
12
|
+
* // Icon is correctly from screen readers
|
|
13
|
+
* <p>
|
|
14
|
+
* <IconPlus />
|
|
15
|
+
* </p>
|
|
16
|
+
*
|
|
17
|
+
* // Icon with screen-reader accessible label only
|
|
18
|
+
* <p>
|
|
19
|
+
* <IconPlus aria-label="Plus" />
|
|
20
|
+
* </p>
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
2
23
|
export declare const IconPlus: (props: Omit<SVGProps<SVGSVGElement>, "viewBox">) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,2 +1,24 @@
|
|
|
1
1
|
import { SVGProps } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Shield icon component.
|
|
4
|
+
*
|
|
5
|
+
* @param {SVGProps<SVGSVGElement>} props - The props for the icon.
|
|
6
|
+
* @returns {JSX.Element} The chat bubble icon.
|
|
7
|
+
*
|
|
8
|
+
* @group Components
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* ```tsx lines
|
|
12
|
+
* // Icon is correctly from screen readers
|
|
13
|
+
* <p>
|
|
14
|
+
* <IconShield />
|
|
15
|
+
* Secure your account
|
|
16
|
+
* </p>
|
|
17
|
+
*
|
|
18
|
+
* // Icon with screen-reader accessible label only
|
|
19
|
+
* <p>
|
|
20
|
+
* <IconShield aria-label="Secure your account" />
|
|
21
|
+
* </p>
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
2
24
|
export declare const IconShield: (props: Omit<SVGProps<SVGSVGElement>, "viewBox">) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,2 +1,24 @@
|
|
|
1
1
|
import { SVGProps } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Smart phone icon component.
|
|
4
|
+
*
|
|
5
|
+
* @param {SVGProps<SVGSVGElement>} props - The props for the icon.
|
|
6
|
+
* @returns {JSX.Element} The chat bubble icon.
|
|
7
|
+
*
|
|
8
|
+
* @group Components
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* ```tsx lines
|
|
12
|
+
* // Icon is correctly from screen readers
|
|
13
|
+
* <p>
|
|
14
|
+
* <IconSmartPhone />
|
|
15
|
+
* Enter code from your authenticator app
|
|
16
|
+
* </p>
|
|
17
|
+
*
|
|
18
|
+
* // Icon with screen-reader accessible label only
|
|
19
|
+
* <p>
|
|
20
|
+
* <IconSmartPhone aria-label="Enter code from your authenticator app" />
|
|
21
|
+
* </p>
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
2
24
|
export declare const IconSmartPhone: (props: Omit<SVGProps<SVGSVGElement>, "viewBox">) => import("react/jsx-runtime").JSX.Element;
|