Commit 4cf146a2 by James Wang Committed by GitHub

Docs: Fix loadAsyncOptions usage (#25371)

Fixed `loadAsyncOptions` in the `AsyncSelect` component usage so that works
parent fd937647
......@@ -90,7 +90,7 @@ Where the async function could look like this:
```tsx
const loadAsyncOptions = () => {
return new Promise()<Array<SelectableValue<string>>>(resolve => {
return new Promise<Array<SelectableValue<string>>>(resolve => {
setTimeout(() => {
resolve(options);
}, 2000);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment