@metadot/ui-kit-user-badge
v0.0.40
Published
This library is used to display a user badge.
Downloads
8
Readme
shared-ui-kit-user-badge
This library is used to display a user badge.
Given some inputs it will compute either user initials or display the picture url given in params.
Storybook
To visualize all the stories created for this lib run
nx run shared-ui-kit-user-badge:storybook
You can use storybook to develop the lib, any change made to the code will be reflected in the stories
Running unit tests
Run nx test shared-ui-kit-user-badge
to execute the unit tests.
Running end-to-end tests
Run nx e2e shared-ui-kit-user-badge-e2e
The e2e tests are coupled with storybook
, stories are created
for this component, then these stories are used to perform some browser
based tests.