"use client";

import FilterModal from "../modal/FilterModal";
import FilterBtn from "./FilterBtn";
import SelectSort from "./SelectSort";

function SortList({ data, setData }) {
  return (
    <div className="flex flex-wrap items-center lg:!w-[25%] gap-[20px] gap-y-[12px] lg:gap-0">
      <FilterModal data={data} setData={setData}>
        <FilterBtn />
      </FilterModal>
      <SelectSort />
    </div>
  );
}

export default SortList;
