Skip to content

Latest commit

 

History

History
41 lines (31 loc) · 809 Bytes

README.md

File metadata and controls

41 lines (31 loc) · 809 Bytes

react-user-list

NPM JavaScript Style Guide

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} />;
};

License

MIT ©