Skip to content
This repository has been archived by the owner on Jan 10, 2019. It is now read-only.
/ wh-react-table Public archive

React component for a filterable and sortable table.

License

Notifications You must be signed in to change notification settings

Wirehive/wh-react-table

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wh-react-table

React component for a filterable and sortable table.

<Table
  fields={[
    ['ID', i => i.id],
    ['Title', i => i.title]
  ]}
  data={this.state.data}
  filter={(item, value) => ReactDOMServer.renderToStaticMarkup(<Row item={item} />).toUpperCase().indexOf(value.toUpperCase()) > -1}
>
  <Row />
</Table>

About

React component for a filterable and sortable table.

Resources

License

Stars

Watchers

Forks

Packages

No packages published