import { createOverlay, destroyAllOverlays } from '@opensumi/ide-core-browser/lib/utils/create-overlay';
const overlayInstance = createOverlay(<h1 style={{color: 'white'}}>hello world</h1>);
overlayInstance.update(<h2 style={{color: 'white'}}>hello world</h2>);
overlayInstance.destroy();
destroyAllOverlays();
@opensumi/ide-core-browser
3.5.0 • Public • PublishedDependencies (20)
- ajv
- mobx
- fuzzy
- react
- lodash
- keycode
- react-is
- react-dom
- classnames
- jsonc-parser
- react-window
- mobx-react-lite
- vscode-textmate
- @vscode/codicons
- strip-json-comments
- @opensumi/ide-components
- @opensumi/ide-connection
- resize-observer-polyfill
- @opensumi/ide-core-common
- @opensumi/vscode-debugprotocol
Dev Dependencies (0)
Package Sidebar
Install
npm i @opensumi/ide-core-browser
Repository
Homepage
Weekly Downloads
544
Version
3.5.0
License
MIT
Unpacked Size
4.11 MB
Total Files
1453