table supernova for nebula.js
If you use npm: npm install @nebula.js/sn-table
import { embed } from '@nebula.js/stardust';
import table from '@nebula.js/sn-table';
// 'app' is an enigma app model
const nuked = embed(app, {
types: [{ // register the table object
name: 'table',
load: () => Promise.resolve(table);
}]
});
nuked.render({
element,
type: 'table',
});