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> |
||||||
|
<input |
||||||
<span> |
value={filterValue || ""} |
||||||
|
onChange={(e) => setFilter(e.target.value)} |
||||||
Search: {''} |
/> |
||||||
|
</span> |
||||||
<input value={filterValue || '' } |
); |
||||||
onChange={(e) => setFilter(e.target.value)} /> |
|
||||||
|
|
||||||
</span> |
|
||||||
|
|
||||||
); |
|
||||||
}; |
}; |
||||||
|
Loading…
Reference in new issue