2024-03-14 23:34:40 +08:00
|
|
|
import './card-proj-edit.css';
|
2024-03-15 18:18:29 +08:00
|
|
|
import {IProjEdit} from "../../interfaces/card/ICardProj.ts";
|
2024-03-14 23:34:40 +08:00
|
|
|
|
2024-03-15 18:18:29 +08:00
|
|
|
export default function CardProjEdit(props: IProjEdit) {
|
2024-03-14 23:34:40 +08:00
|
|
|
return (
|
|
|
|
<div className="card-proj-edit">
|
2024-03-15 18:18:29 +08:00
|
|
|
<div className="title">{props.title}</div>
|
|
|
|
<div className="desc">{props.desc}</div>
|
2024-03-14 23:34:40 +08:00
|
|
|
<div className="option">
|
|
|
|
<a href="/#" className="edit" onClick={(e) => {
|
|
|
|
e.preventDefault();
|
2024-03-15 18:18:29 +08:00
|
|
|
props.handleEdit();
|
2024-03-14 23:34:40 +08:00
|
|
|
}}>编辑</a>
|
|
|
|
<span className="status"></span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
)
|
|
|
|
}
|