@inubekit/avatar
v2.31.1
Published
This library publishes the `<Avatar />` component.
Downloads
206
Readme
Avatar
This library publishes the <Avatar />
component.
Installation
npm install @inubekit/avatar
Dependencies
- styled-components: this library must be installed in your project in order to be able to use the component.
Import
import { Avatar } from "@inubekit/avatar";
Props
onClick (optional)
This prop gets a function that will be executed when the user click on the component. The function will get the click event as an argument when executed.
Personalization
Tokens
- This component doesn't support tokens.
- The component implements the
<Icon />
component, and the appearance of it will match what the business unit defines as a primary icon. For more information check @inubekit/icon