import React from "react"; import { DataSourceOption } from ".."; type DropdownRenderProps = { dataSource: DataSourceOption[]; userInput: string[]; }; export default function useDropdownRender({ dataSource, userInput }: DropdownRenderProps): { keyword: string; setKeyword: React.Dispatch>; onSearchChange: (this: unknown, e: React.ChangeEvent) => void; onExpand: (this: unknown, newExpandedKeys: React.Key[]) => void; expandedKeys: React.Key[]; autoExpandParent: boolean; filterDataSource: DataSourceOption[]; }; export {};