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