import { api } from "@nice/client";
import { Select } from "antd";
import { useState } from "react";

export default function PostSelect() {
	api.post.findMany.useQuery({});
	const [search, setSearch] = useState("");
	return (
		<>
			<Select
				options={[{ value: "id1", label: <></> }]}
				onSearch={(inputValue) => setSearch(inputValue)}></Select>
		</>
	);
}
