📜  显示动态数据 expressjs - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:03:53.340000             🧑  作者: Mango

代码示例1
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 }