16 lines
455 B
TypeScript
16 lines
455 B
TypeScript
import { Button } from "@common/components";
|
|
|
|
interface RejectButtonProps {
|
|
rejectFunc: () => void;
|
|
}
|
|
|
|
const RejectButton = ({ rejectFunc }: RejectButtonProps) => {
|
|
return (
|
|
<Button color="red" className="px-6" onClick={rejectFunc}>
|
|
<i className="diveicon di-exclamation-circle translate-y-[1px]" />
|
|
<span className="translate-y-[-1px]">보완 요청</span>
|
|
</Button>
|
|
);
|
|
};
|
|
|
|
export default RejectButton; |