1.0.7 • Published 5 years ago
react-reqres-users-table v1.0.7
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)} />