@npmcorp/pui-react-sortable-table

8.5.0 • Public • Published

pui-react-sortable-table

A React component that provides a table that can be sorted by column

Pivotal UI React (GitHub, npm) is a collection of React components for rapidly building and prototyping UIs.

This component requires React v0.13

See the Pivotal UI Styleguide for fully rendered examples.

Components

TableHeader

Wrapper for a th

Properties

  • sortable
    • boolean: (defaults to false) indicates whether the table can be sorted by this column;

TableCell

Wrapper for a td

TableRow

Wrapper for a tr

SortableTable

A table that can be sorted by column

var {SortableTable, TableHeader, TableRow, TableCell} = require('

#### Properties

- ``headers``
  - `Array<Object>`: A list of `TableHeader` components


*****************************************

(c) Copyright 2015 Pivotal Software, Inc. All Rights Reserved.

Package Sidebar

Install

npm i @npmcorp/pui-react-sortable-table

Weekly Downloads

0

Version

8.5.0

License

MIT

Last publish

Collaborators

  • maitxn
  • shmam
  • kartykp
  • jithinpg
  • reggi
  • karenjli
  • tayvongh
  • navin22
  • dhei
  • tiagonbotelho
  • hashtagchris
  • nishantms
  • feelepxyz.github
  • monishcm
  • jumoel
  • trevrosen
  • fritzy
  • npm
  • npmci
  • saquibkhan
  • gar
  • mylesborins