@cero-base/panel
v0.2.0
Published
Admin panel UI for cero-base
Downloads
218
Readme
@cero-base/panel
Debug panel component for cero-base. Displays schema, collections, rooms, and system data in a collapsible panel overlay.
Install
npm install @cero-base/panelUsage
import { CeroPanel } from '@cero-base/panel'
function App() {
return (
<>
<MyApp />
<CeroPanel db={db} />
</>
)
}Exports
| Export | Description |
| --------------------- | --------------------------------- |
| CeroPanel | Debug panel component |
| useSchema | Hook for schema introspection |
| useSchemaByScope | Hook for schema filtered by scope |
| useCollectionSchema | Hook for single collection schema |
| useCollection | Hook for collection data |
| useRooms | Hook for room list |
| useRoomSelection | Hook for room selection state |
| useIdentityData | Hook for identity system data |
| useRoomData | Hook for room system data |
License
Apache-2.0
