Update index.en-US.md

#15260
This commit is contained in:
偏右 2020-03-21 11:45:24 +08:00 committed by GitHub
parent 9dbd41a853
commit 5529774513
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -137,6 +137,8 @@ When you need context info (like ConfigProvider context), you can use `Modal.use
```tsx
const [modal, contextHolder] = Modal.useModal();
// then call modal.confirm instead of Modal.confirm
return (
<Context1.Provider value="Ant">
{/* contextHolder is in Context1 which mean modal will not get context of Context1 */}