1
- import Search from "antd/es/transfer/search" ;
2
1
import ProductTable from "./ProductTable" ;
3
2
import SearchTable from "./SearchBar" ;
4
3
@@ -9,14 +8,14 @@ interface IProduct{
9
8
name : string ;
10
9
}
11
10
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
+ // ];
20
19
21
20
export default function FilterableProductTable ( ) {
22
21
return (
0 commit comments