1- import Search from "antd/es/transfer/search" ;
21import ProductTable from "./ProductTable" ;
32import SearchTable from "./SearchBar" ;
43
@@ -9,14 +8,14 @@ interface IProduct{
98 name : string ;
109}
1110
12- const ProductData : IProduct [ ] = [
13- { category : "Fruits" , price : "$1" , stocked : true , name : "Apple" } ,
14- { category : "Fruits" , price : "$1" , stocked : true , name : "Dragonfruit" } ,
15- { category : "Fruits" , price : "$2" , stocked : false , name : "Passionfruit" } ,
16- { category : "Vegetables" , price : "$2" , stocked : true , name : "Spinach" } ,
17- { category : "Vegetables" , price : "$4" , stocked : false , name : "Pumpkin" } ,
18- { category : "Vegetables" , price : "$1" , stocked : true , name : "Peas" }
19- ] ;
11+ // const ProductData: IProduct[] = [
12+ // { category: "Fruits", price: "$1", stocked: true, name: "Apple" },
13+ // { category: "Fruits", price: "$1", stocked: true, name: "Dragonfruit" },
14+ // { category: "Fruits", price: "$2", stocked: false, name: "Passionfruit" },
15+ // { category: "Vegetables", price: "$2", stocked: true, name: "Spinach" },
16+ // { category: "Vegetables", price: "$4", stocked: false, name: "Pumpkin" },
17+ // { category: "Vegetables", price: "$1", stocked: true, name: "Peas" }
18+ // ];
2019
2120export default function FilterableProductTable ( ) {
2221 return (
0 commit comments