/lupa-table

Display your Lupa dataset in a table

Primary LanguageJavaScriptMIT LicenseMIT

Lupa Table

Use Lupa datasets and display as a table

Installation

Lupa is on NPM so install using your preferred JS package manager.

yarn add lupa-table
npm install lupa-table

Usage

Anywhere underneath a Lupa <Dataset> component you can use the <LupaTable> component.

import React from 'react';
import { MockDataset } from '@lupa/mock'; // This can be any lupa provider
import { LupaTable } from 'lupa-table';

export default function App() {
  return (
    <MockDataset data={[...]}>
      <LupaTable />
    </MockDataset>
  )
}