Skip to content

Latest commit

 

History

History
31 lines (23 loc) · 870 Bytes

README.md

File metadata and controls

31 lines (23 loc) · 870 Bytes

CircleCI Maintainability Test Coverage

sn-table

table supernova for nebula.js

Installing

If you use npm: npm install @nebula.js/sn-table

Usage

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',
});