import React from 'react'; import { Select } from 'antd'; const onChange = (value: string) => { console.log(`selected ${value}`); }; const onSearch = (value: string) => { console.log('search:', value); }; // Filter `option.label` match the user type `input` const filterOption = (input: string, option?: { label: string; value: string }) => (option?.label ?? '').toLowerCase().includes(input.toLowerCase()); const App: React.FC = () => (