@inubekit/avatar
TypeScript icon, indicating that this package has built-in type declarations

2.31.1 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i @inubekit/avatar

Weekly Downloads

21

Version

2.31.1

License

none

Unpacked Size

3.41 kB

Total Files

4

Last publish

Collaborators

  • cmarin
  • wfercanas