react-reqres-users-table
v1.0.7
Published
Creats a table from ReqRes users
Downloads
1
Readme
React ReqRes Users Table
This is an example / dummy component to build a table from the Users ReqRes API.
Installation
npm install react-reqres-users-table --save
Usage
import ReqresUserTable from 'react-reqres-users-table'
<ReqresUserTable />
You can also pass in an onSelect prop to do something with a selected user.
<ReqresUserTable onSelect={(user) => this.doSomethingWithUser(user)} />