import { createTable } from 'src/main/ts/ephox/bridge/components/dialog/Table';

export const createWordcountDialog = () => {
  createTable({
    type: 'table',
    header: [ 'hello', 'world'],
    cells: [
      ['hej', 'vaerld'],
      ['yahoo', 'sekai']
    ]
  });
};
import { createTable } from '../../../main/ts/ephox/bridge/components/dialog/Table';

export const createWordcountDialog = () => {
  createTable({
    type: 'table',
    header: [ 'hello', 'world'],
    cells: [
      ['hej', 'vaerld'],
      ['yahoo', 'sekai']
    ]
  });
};
Use proper relative paths to the table module
Use proper relative paths to the table module
