From 4bf1f0336b94ce7dbc34a19a8ea9ae0a8fbe6bd6 Mon Sep 17 00:00:00 2001 From: samuelea Date: Wed, 8 May 2024 11:47:05 -0400 Subject: [PATCH] wip --- .../WaasCodeInputContent.tsx | 47 + packages/kit/src/hooks/useWaasRevalidation.ts | 4 +- pnpm-lock.yaml | 17255 +++++++--------- 3 files changed, 7247 insertions(+), 10059 deletions(-) create mode 100644 packages/kit/src/components/KitProvider/ConnectWalletContent/WaasCodeInputContent.tsx diff --git a/packages/kit/src/components/KitProvider/ConnectWalletContent/WaasCodeInputContent.tsx b/packages/kit/src/components/KitProvider/ConnectWalletContent/WaasCodeInputContent.tsx new file mode 100644 index 00000000..8621d8de --- /dev/null +++ b/packages/kit/src/components/KitProvider/ConnectWalletContent/WaasCodeInputContent.tsx @@ -0,0 +1,47 @@ +import { useState } from 'react' +import { + Box, + Button, + Text, + Spinner, +} from '@0xsequence/design-system' +import { PINCodeInput } from './PINCodeInput' + + +export interface WaasCodeInputContentProps { + isLoading: boolean + onVerify: () => {} +} + +export const WaasCodeInputContent = ({ + isLoading, + onVerify +}: WaasCodeInputContentProps) => { + const [waasEmailPinCode, setWaasEmailPinCode] = useState([]) + + + return ( + <> + + + Enter code received in email. + + + + + {isLoading ? ( + + ) : ( +