st: refactor: - 버튼 컴포넌트 추가
This commit is contained in:
@@ -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;
|
||||
Reference in New Issue
Block a user