-
Instance select value = {JSON.stringify(instanceSelectValue)}
-
- Instance select value instances ={' '}
- {JSON.stringify(
- s.current && s.current.getInstanceByKeys(instanceSelectValue)
- )}
-
-
- >
- )
-}
-
-const MultiSelectRegion = () => {
- const [items, items2] = useMemo(() => {
- const items: any[] = []
- const items2: any[] = []
- for (let i = 0; i < 100; i++) {
- items.push({ key: String(i), label: `Item ${i}` })
- items2.push({
- key: String(i),
- label: `Long Long Long Long Long Long Item ${i}`,
- })
- }
- return [items, items2]
- }, [])
-
- const [value, setValue] = useState