feat: 버튼 컴포넌트 추가
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
import { Button } from "@common/components";
|
||||
|
||||
interface SaveButtonProps {
|
||||
saveFunc: () => void;
|
||||
}
|
||||
|
||||
const SaveButton = ({ saveFunc }: SaveButtonProps) => {
|
||||
return (
|
||||
<Button color="green" className="px-6" onClick={saveFunc}>
|
||||
<i className="diveicon di-download" />
|
||||
<span>저장</span>
|
||||
</Button>
|
||||
);
|
||||
};
|
||||
|
||||
export default SaveButton;
|
||||
Reference in New Issue
Block a user