@omniconsole/react
v1.0.5
Published
React wrapper for OmniConsole
Maintainers
Readme
@omniconsole/react
React wrapper hook and component integration for OmniConsole in-app developer toolbar.
Official Documentation: console.oxbryte.xyz
Installation
Install both the React wrapper and the core library:
npm install @omniconsole/react omniconsole
# or
yarn add @omniconsole/react omniconsoleUsage
Call the hook at the root of your application wrapper component:
import { useOmniConsole } from '@omniconsole/react';
function App() {
useOmniConsole({
enabled: process.env.NODE_ENV !== 'production',
defaultDock: 'bottom'
});
return (
<div className="app">
<h1>My Application</h1>
</div>
);
}For detailed options, theme customization, and API parameters, please visit console.oxbryte.xyz.
Keywords
developer-toolbar, react, react-console, mobile-debugging, devtools, in-app-console, debugging
