@uniai-fe/uds-templates 0.1.10 → 0.1.12
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/package.json
CHANGED
|
@@ -14,6 +14,7 @@ export default function AuthLoginContainer({
|
|
|
14
14
|
footer,
|
|
15
15
|
linkOptions,
|
|
16
16
|
fieldOptions,
|
|
17
|
+
onFindPasswordLinkClick,
|
|
17
18
|
}: AuthLoginProps) {
|
|
18
19
|
return (
|
|
19
20
|
<>
|
|
@@ -28,6 +29,7 @@ export default function AuthLoginContainer({
|
|
|
28
29
|
hrefFindId={linkOptions.find.id}
|
|
29
30
|
hrefFindPassword={linkOptions.find.password}
|
|
30
31
|
hrefSignup={linkOptions.signup}
|
|
32
|
+
onFindPasswordClick={onFindPasswordLinkClick}
|
|
31
33
|
/>
|
|
32
34
|
)}
|
|
33
35
|
</AuthContainer>
|
|
@@ -5,10 +5,12 @@ export default function AuthLoginLinkButtons({
|
|
|
5
5
|
hrefFindId,
|
|
6
6
|
hrefFindPassword,
|
|
7
7
|
hrefSignup,
|
|
8
|
+
onFindPasswordClick,
|
|
8
9
|
}: {
|
|
9
10
|
hrefFindId: string;
|
|
10
11
|
hrefFindPassword: string;
|
|
11
12
|
hrefSignup: string;
|
|
13
|
+
onFindPasswordClick?: () => void;
|
|
12
14
|
}) {
|
|
13
15
|
return (
|
|
14
16
|
<div className="auth-login-util-container">
|
|
@@ -17,12 +19,22 @@ export default function AuthLoginLinkButtons({
|
|
|
17
19
|
<span>아이디 찾기</span>
|
|
18
20
|
</Link>
|
|
19
21
|
<Divider />
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
22
|
+
{onFindPasswordClick ? (
|
|
23
|
+
<button
|
|
24
|
+
type="button"
|
|
25
|
+
className="auth-login-find-account-button"
|
|
26
|
+
onClick={onFindPasswordClick}
|
|
27
|
+
>
|
|
28
|
+
<span>비밀번호 찾기</span>
|
|
29
|
+
</button>
|
|
30
|
+
) : (
|
|
31
|
+
<Link
|
|
32
|
+
href={hrefFindPassword}
|
|
33
|
+
className="auth-login-find-account-button"
|
|
34
|
+
>
|
|
35
|
+
<span>비밀번호 찾기</span>
|
|
36
|
+
</Link>
|
|
37
|
+
)}
|
|
26
38
|
</div>
|
|
27
39
|
<div className="auth-login-signup">
|
|
28
40
|
<Button.Rounded
|