A library to display user profiles in multiple sizes.
You can install this library using npm: npm install profilesize-library
To use this library in your React application: import { ProfileList } from 'profilesize-library';
sizes (array): An array defining profile sizes and styles. onProfileClick (function): A function triggered on profile click. src (string): URL of the profile image. firstName (string): First name of the user. lastName (string): Last name of the user.
Below is an example demonstrating how to use the Profile component:
import React from "react"; import {Profile} from "profile-library";
S## tyling This library comes with pre-defined CSS classes to style the profiles in different sizes. You can also customize these styles according to your requirements.