You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
270 B
15 lines
270 B
3 years ago
|
import React from "react";
|
||
3 years ago
|
|
||
3 years ago
|
export const ColumnSearch = ({ column }) => {
|
||
3 years ago
|
const { filterValue, setFilter } = column;
|
||
|
|
||
|
return (
|
||
|
<span>
|
||
|
<input
|
||
|
value={filterValue || ""}
|
||
|
onChange={(e) => setFilter(e.target.value)}
|
||
|
/>
|
||
|
</span>
|
||
|
);
|
||
3 years ago
|
};
|