-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1. 로그인 화면 퍼블리싱 2. 로그인 버튼 mock 이벤트 바인딩 3. 비밀번호를 잊으셨습니까 클릭시 비밀번호 찾기로 이동 Resolve: #11
- Loading branch information
Showing
3 changed files
with
42 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
export default function LabelSection({className, id, label, isRequire = false, asChild = false, children, ...props}){ | ||
const wrapperClassName = `flex flex-col gap-2 items-center w-full ${className}`; | ||
return ( | ||
<div | ||
className={wrapperClassName}> | ||
<div className="flex justify-start items-center w-full gap-x-1"> | ||
<span className="font-medium"> | ||
{label} | ||
</span> | ||
{ | ||
isRequire ? | ||
<span className="text-rose-600">*</span> | ||
: <></> | ||
} | ||
</div> | ||
{asChild ? children : <></>} | ||
</div> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters