Neodymium Plated Magnet

    @cloudflare/builder-table

    3.0.67 • Public • Published

    @cloudflare/builder-table

    Cloudflare Table Builder

    Installation

    Installation with yarn is recommended

    $ yarn add @cloudflare/builder-table
    

    Usage

    import React from 'react';
    import { TableBuilder } from '../../src';
    
    const rows = [{ name: 'James', coolness: 1 }, { name: 'David', coolness: -1 }];
    
    const columns = [
      {
        label: 'Name',
        cell: row => row.name
      },
      {
        label: 'Coolness',
        cell: row => row.coolness,
        columnHover: true,
        align: 'left',
        sortProps: {
          active: true,
          direction: 'desc'
        }
      }
    ];
    
    class BuilderTable extends React.Component {
      render() {
        return (
          <div>
            <TableBuilder rowHover={true} rows={rows} columns={columns} />
          </div>
        );
      }
    }
    
    BuilderTable.displayName = 'BuilderTable';
    
    export default BuilderTable;

    Keywords

    none

    Install

    npm i @cloudflare/builder-table

    DownloadsWeekly Downloads

    1,388

    Version

    3.0.67

    License

    BSD-3-Clause

    Unpacked Size

    155 kB

    Total Files

    9

    Last publish

    Collaborators

    • trevorcf
    • g4brym
    • snigdha34
    • wrangler-publisher
    • marksteyn
    • chiminator
    • sgoodhew_cf
    • terinjokes
    • third774
    • evanderkoogh
    • jsteinberger
    • jasnell
    • kkoenig
    • asapzacy
    • pcostanzo
    • gregbrimble
    • geelen
    • jgentes
    • rexscaria
    • dcruz_cf
    • xuranwang
    • jculvey
    • sejoker
    • caass
    • vasturiano
    • cf-ci-write
    • segments-write
    • thibmeu
    • xortive
    • gurjinder
    • cf-ci2
    • lvalenta
    • worenga