File tree Expand file tree Collapse file tree 8 files changed +24
-8
lines changed
packages/firebaseui-react/src Expand file tree Collapse file tree 8 files changed +24
-8
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ export default function Home() {
7
7
const user = useUser ( ) ;
8
8
9
9
return (
10
- < div className = "p-8" >
10
+ < div className = "p-8 " >
11
11
< h1 className = "text-3xl font-bold mb-6" > Firebase UI Demo</ h1 >
12
12
< div className = "mb-6" >
13
13
{ user && < div > Welcome: { user . email || user . phoneNumber } </ div > }
Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ import { useState } from "react";
4
4
import {
5
5
EmailPasswordForm ,
6
6
RegisterForm ,
7
- CustomSignInScreen ,
8
7
Card ,
9
8
CardHeader ,
10
9
CardTitle ,
@@ -52,7 +51,7 @@ export default function Example2() {
52
51
style = { { animationDelay : "1s" } }
53
52
> </ div >
54
53
55
- < CustomSignInScreen className = "!min-h-0 !bg-transparent !p-0" >
54
+ < div className = "!min-h-0 !bg-transparent !p-0" >
56
55
< Card className = "relative rounded-xl border border-white/10 bg-black/40 shadow-2xl backdrop-blur-xl" >
57
56
< CardHeader >
58
57
< CardTitle >
@@ -84,7 +83,7 @@ export default function Example2() {
84
83
</ >
85
84
) }
86
85
</ Card >
87
- </ CustomSignInScreen >
86
+ </ div >
88
87
</ div >
89
88
</ main >
90
89
Original file line number Diff line number Diff line change 1
1
"use client" ;
2
2
3
- import { SignInScreen } from "@firebase-ui/react" ;
3
+ import { SignInAuthScreen } from "@firebase-ui/react" ;
4
4
5
5
export default function Example4 ( ) {
6
6
return (
7
- < SignInScreen onForgotPasswordClick = { ( ) => { } } onRegisterClick = { ( ) => { } } />
7
+ < SignInAuthScreen onForgotPasswordClick = { ( ) => { } } onRegisterClick = { ( ) => { } } />
8
8
) ;
9
9
}
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ import { Button } from "../../components/button";
14
14
import { FieldInfo } from "../../components/field-info" ;
15
15
import { Policies } from "../../components/policies" ;
16
16
17
- interface EmailPasswordFormProps {
17
+ export interface EmailPasswordFormProps {
18
18
onForgotPasswordClick ?: ( ) => void ;
19
19
onRegisterClick ?: ( ) => void ;
20
20
}
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ import { Button } from "../../components/button";
14
14
import { FieldInfo } from "../../components/field-info" ;
15
15
import { Policies } from "../../components/policies" ;
16
16
17
- interface RegisterFormProps {
17
+ export interface RegisterFormProps {
18
18
onBackToSignInClick ?: ( ) => void ;
19
19
}
20
20
Original file line number Diff line number Diff line change
1
+ /** Export screens */
1
2
export {
2
3
EmailLinkAuthScreen ,
3
4
type EmailLinkAuthScreenProps ,
@@ -24,4 +25,13 @@ export {
24
25
type PasswordResetScreenProps ,
25
26
} from "./screens/password-reset-screen" ;
26
27
28
+ /** Export forms */
29
+ export {
30
+ EmailPasswordForm ,
31
+ type EmailPasswordFormProps ,
32
+ } from "./forms/email-password-form" ;
33
+
34
+ export { RegisterForm , type RegisterFormProps } from "./forms/register-form" ;
35
+
36
+ /** Export Buttons */
27
37
export { GoogleSignInButton } from "./oauth/google-sign-in-button" ;
Original file line number Diff line number Diff line change
1
+ export * from '././button' ;
2
+ export * from './card' ;
3
+ export * from './country-selector' ;
4
+ export * from './field-info' ;
5
+ export * from './policies' ;
6
+ export * from './divider' ;
Original file line number Diff line number Diff line change 1
1
export * from "./auth" ;
2
2
export * from "./hooks" ;
3
+ export * from "./components" ;
3
4
export { FirebaseUIProvider as ConfigProvider } from "./context" ;
You can’t perform that action at this time.
0 commit comments