📅  最后修改于: 2022-03-11 15:03:53.340000             🧑  作者: Mango
import ReactFlexyTable from "react-flexy-table"
import "react-flexy-table/dist/index.css"
import deleteIcon from "./icons/delete-button-svgrepo-com.svg"
import editIcon from "./icons/edit-svgrepo-com.svg"
const App = ()=>{
const additionalCols = [{
header: "Actions",
td: (data) => {
return
alert("this is delete for id " + data.id)} /> // delete icon
alert("this is edit for id " + data.id)} /> // edit icon
}
}]
return
}