change space between field and text && change type fields
This commit is contained in:
@@ -11,20 +11,15 @@ const listSort = [
|
||||
|
||||
function SelectSort() {
|
||||
const [sort, setSort] = useState("");
|
||||
console.log(sort);
|
||||
|
||||
const handleChange = (event) => {
|
||||
console.log(event);
|
||||
|
||||
setSort(event.target.name);
|
||||
};
|
||||
const handleChange = (event) => setSort(event.target.name);
|
||||
|
||||
return (
|
||||
<Select
|
||||
defaultValue={sort}
|
||||
displayEmpty
|
||||
onChange={handleChange}
|
||||
className="!w-[193px] !max-w-[305px] lg:!w-full text-[14px] md:text-[16px] !bg-transparent lg:!bg-[#FFF] !h-[44px] sm:!h-[50px] md:!h-[57px] lg:!h-[64px]"
|
||||
className="!w-[198px] !max-w-[305px] lg:!w-full text-[14px] md:text-[16px] !bg-transparent lg:!bg-[#FFF] !h-[44px] sm:!h-[50px] md:!h-[57px] lg:!h-[64px]"
|
||||
renderValue={(value) => {
|
||||
return (
|
||||
<div className="w-[20px] flex gap-[4px] md:gap-[8px] md:w-[22px] lg:w-[24px] h-[20px] md:h-[22px] lg:h-[24px]">
|
||||
|
||||
Reference in New Issue
Block a user