profilesize-library

1.0.57 • Public • Published

profilesize-library

A library to display user profiles in multiple sizes.

Installation

You can install this library using npm: npm install profilesize-library

Usage

To use this library in your React application: import { ProfileList } from 'profilesize-library';

Props:

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.

Example

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.

Readme

Keywords

Package Sidebar

Install

npm i profilesize-library

Weekly Downloads

1

Version

1.0.57

License

ISC

Unpacked Size

7.61 kB

Total Files

10

Last publish

Collaborators

  • archana0405