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.
16 lines
557 B
16 lines
557 B
import React, { useState } from "react"; |
|
|
|
export const ColumnSearch = ({ column }) => { |
|
const { filterValue, setFilter } = column; |
|
|
|
return ( |
|
<div className="flex flex-row items-center "> |
|
<input |
|
value={filterValue || ""} |
|
onChange={(e) => setFilter(e.target.value)} |
|
className={`w-8/12 text-xs text-blue-400 rounded focus:outline-none border p-1 focus:border-blue-200 focus:ring focus:ring-blue-200 focus:ring-opacity-20`} |
|
style={{ backgroundColor: "#F9FBFF", borderColor: "#B5D6FF" }} |
|
/> |
|
</div> |
|
); |
|
};
|
|
|