Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat : 페이지 상단 바 개발 #96

Merged
merged 8 commits into from
Nov 27, 2024
Next Next commit
feat : top bar 개발
HelloWook committed Nov 27, 2024
commit 2adb537b804673f067339863aab708ee0c52a38b
13 changes: 13 additions & 0 deletions src/components/Common/TopBar/TopBar.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import React from 'react';
import { BackButton } from '../BackButton/BackButton';

type TopBaerProps = { onClick: () => void };

export const TopBar = ({ onClick }: TopBaerProps) => {
return (
<div className="flex items-center justify-between w-full px-4 text-2xl ">
<BackButton onClick={onClick} />
<p className="">완료</p>
</div>
);
};