react-blackhole-engine
v0.0.1
Published
```bash npm install react-blackhole-engine ```
Downloads
7
Readme
React 黑洞渲染引擎组件
安装使用
npm install react-blackhole-engine
用法
const App = () => {
const config: BHEngineViewerProps = {
width: '100vw',
height: '100vh',
dataSetIds: '',
requests: BHRequest.create('host', 'user', 'password'),
};
return (
<div>
<BHEngineViewer {...config} />
</div>
);
};
createRoot(document.getElementById('root')!).render(<App />);