import { AllHTMLAttributes } from "react"; import Button from "../Button"; import Select from "../Select"; import { SearchSortProps } from "./types"; import clsx from 'clsx'; const Option = ({ children, value }: AllHTMLAttributes) => { return ( ); } const SearchSort = ({ children, className, id = 'sort-by', label = 'Sort by', onApply, ...props }: SearchSortProps) => { return (
); }; SearchSort.displayName = 'SearchSort'; Option.displayName = 'SearchSort.Option'; SearchSort.Option = Option; export default SearchSort;