st: refactor: - 버튼 컴포넌트 추가

This commit is contained in:
2026-01-09 17:25:16 +09:00
parent ece49f0ae2
commit 9729b42837
3 changed files with 48 additions and 0 deletions
@@ -0,0 +1,16 @@
import { Button } from "@common/components";
interface AddArticleButtonProps {
addArticleFunc: () => void;
}
const AddArticleButton = ({ addArticleFunc }: AddArticleButtonProps) => {
return (
<Button className="h-[3.2rem] w-[96px]" onClick={addArticleFunc}>
<i className="ri-add-fill" />
<span>항목 추가</span>
</Button>
);
};
export default AddArticleButton;