Skip to content

Commit

Permalink
feat: 스토리 생성 버튼 컴포넌트 생성
Browse files Browse the repository at this point in the history
  • Loading branch information
surinkwon committed Jul 4, 2024
1 parent a0ff9ba commit 3716afd
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion frontend/src/components/backlog/StoryCreateButton.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
const StoryCreateButton = () => <div></div>;
import Plus from "../../assets/icons/plus.svg?react";

interface StoryCreateButtonProps {
onClick: () => void;
}

const StoryCreateButton = ({ onClick }: StoryCreateButtonProps) => (
<button
type="button"
className="flex items-center justify-center w-full gap-2 py-1 rounded-md bg-middle-green"
onClick={onClick}
>
<Plus width={24} height={24} stroke="white" />
<span className="text-white">Story 생성하기</span>
</button>
);

export default StoryCreateButton;

0 comments on commit 3716afd

Please sign in to comment.