User Profile Avatar
Installation
npm i user-profile-avatar
yarn add user-profile-avatar
Usage
import { Avatar } from 'user-profile-avatar'
Simple example
<Avatar
src="image link"
alt="profile"
size={80}
/>,
Render prop example
<Avatar
src="image link"
alt="profile"
size={'Enter the size'}
/>,
Complete example
import { Avatar } from 'user-profile-avatar'
function App() {
return (
<div className="App">
<Avatar
src='Enter your image Link'
alt='profile'
size={80}
/>
</div>
);
}
export default App;