A Hawtio reimplementation based on TypeScript + React. This project reimplements the following Hawtio JS components in one project:
NPM
npm i @hawtio/react
Yarn
yarn add @hawtio/react
// Required styles
import '@hawtio/react/dist/index.css'
import '@patternfly/react-core/dist/styles/base.css'
import { hawtio, Hawtio, registerPlugins } from '@hawtio/react'
import React from 'react'
import ReactDOM from 'react-dom/client'
// Bootstrap Hawtio
registerPlugins()
hawtio.bootstrap()
const root = ReactDOM.createRoot(
document.getElementById('root') as HTMLElement
)
root.render(
<React.StrictMode>
<Hawtio />
</React.StrictMode>
)
Hawtio React is licensed under the Apache 2.0 License.