16 lines
460 B
TypeScript
16 lines
460 B
TypeScript
import { Button } from "@common/components";
|
|
|
|
interface DeleteArticleButtonProps {
|
|
deleteArticleFunc: () => void;
|
|
}
|
|
|
|
const DeleteArticleButton = ({ deleteArticleFunc }: DeleteArticleButtonProps) => {
|
|
return (
|
|
<Button className="h-[3.2rem] w-[96px]" color="white" onClick={deleteArticleFunc}>
|
|
<i className="ri-subtract-fill"></i>
|
|
<span>항목 제거</span>
|
|
</Button>
|
|
);
|
|
};
|
|
|
|
export default DeleteArticleButton; |