UNPKG

@frank-auth/react

Version:

Flexible and customizable React UI components for Frank Authentication

1 lines 2.18 kB
{"version":3,"file":"email-verification-form.cjs","sources":["../../../../../../src/components/auth/verification/email-verification/email-verification-form.tsx"],"sourcesContent":["\n// ============================================================================\n// Email Verification Form Component\n// ============================================================================\n\nimport React from \"react\";\nimport {EmailVerification, type EmailVerificationFormProps} from \"./email-verification\";\nimport {withErrorBoundary} from \"@/components\";\n\nexport const EmailVerificationForm = withErrorBoundary(function EmailVerificationForm({\n showHeader = true,\n showInstructions = true,\n ...props\n }: EmailVerificationFormProps) {\n return (\n <div className=\"space-y-6\">\n {showHeader && (\n <div className=\"text-center\">\n <h2 className=\"text-2xl font-bold\">Email Verification</h2>\n {showInstructions && (\n <p className=\"text-default-500 mt-2\">\n Please verify your email address to continue\n </p>\n )}\n </div>\n )}\n <EmailVerification {...props} />\n </div>\n );\n});\n"],"names":["EmailVerificationForm","withErrorBoundary","showHeader","showInstructions","props","jsxs","jsx","EmailVerification"],"mappings":"wMASaA,EAAwBC,EAAAA,kBAAkB,SAA+B,CACI,WAAAC,EAAa,GACb,iBAAAC,EAAmB,GACnB,GAAGC,CACP,EAA+B,CAE7G,OAAAC,EAAA,KAAC,MAAI,CAAA,UAAU,YACV,SAAA,CACGH,GAAAG,EAAA,KAAC,MAAI,CAAA,UAAU,cACX,SAAA,CAACC,EAAA,IAAA,KAAA,CAAG,UAAU,qBAAqB,SAAkB,qBAAA,EACpDH,GACGG,EAAA,IAAC,IAAE,CAAA,UAAU,wBAAwB,SAErC,8CAAA,CAAA,CAAA,EAER,EAEJA,MAACC,EAAAA,kBAAmB,CAAA,GAAGH,CAAO,CAAA,CAAA,EAClC,CAER,CAAC"}