@nbt-dev/components
v0.1.1
Published
Reusable React building blocks for NBT-console apps: the CodeMirror NBT editor (+LSP), the entity graph, and the live data table.
Readme
@nbt-dev/components
Reusable React building blocks for NBT-console apps:
@nbt-dev/components/editor— the CodeMirror NBT editor (+LSP)@nbt-dev/components/graph— the entity-relationship graph@nbt-dev/components/table— the live data table
Import @nbt-dev/components/styles.css and wrap your subtree in <div className="nbt-ui dark">.
Needs the console base URL via <DevToolsConfigProvider apiBaseUrl="…">; table & graph also need <BulkStreamProvider registry={…}>.
