react-user-list
v1.0.1
Published
>
Downloads
20
Maintainers
Readme
react-user-list
Install
npm install --save react-user-list
Usage
import React from "react";
import UserList from "react-user-list";
export default const Example = () => {
const users = [
{
firstName: "John",
lastName: "Smith",
username: "[email protected]",
image: null
},
{
firstName: "Sarah",
lastName: "Doe",
username: "[email protected]",
image: "https://i.pravatar.cc/100"
}
];
return <UserList users={users} />;
};