@clearc2/c2-table 
A react table component that supports:
- sorting
- pageable data
- expandable rows
Install
# for yarnyarn add @clearc2/c2-table# for npmnpm install @clearc2/c2-table
Usage
import React from 'react'import {Table, Column} from '@clearc2/c2-table'const data = [{id: 1, firstName: 'Mickey', lastName: 'Patton', role: 'President'},{id: 2, firstName: 'Kevin', lastName: 'Bull', role: 'Developer'}]const example = (<Table id='example' rowId='id' data={data}><Column id='id' header='ID' /><Columnid='name'header='Name'orderValue={row => row.lastName + ', ' + row.firstName}cell={(row) => (<React.Fragment>{row.firstName} {row.lastName}</React.Fragment>)}/><Column id='role' header='Role' /></Table>)