parent
a2a7ffb1ed
commit
f2516b9fb8
4 changed files with 43 additions and 73 deletions
@ -1,19 +1,14 @@ |
|||||||
import React from 'react'; |
import React from "react"; |
||||||
|
|
||||||
export const ColumnFilter = ({ column }) => { |
export const ColumnFilter = ({ column }) => { |
||||||
|
const { filterValue, setFilter } = column; |
||||||
const { filterValue, setFilter } = column
|
|
||||||
|
|
||||||
return ( |
return ( |
||||||
|
|
||||||
<span> |
<span> |
||||||
|
<input |
||||||
Search: {''} |
value={filterValue || ""} |
||||||
|
onChange={(e) => setFilter(e.target.value)} |
||||||
<input value={filterValue || '' } |
/> |
||||||
onChange={(e) => setFilter(e.target.value)} /> |
|
||||||
|
|
||||||
</span> |
</span> |
||||||
|
|
||||||
); |
); |
||||||
}; |
}; |
||||||
|
Loading…
Reference in new issue