1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
Nidhi Kumari 838cd5b38c
converted Jazzicon component to functional component and added story (#15638)
* converted jazzicon component to functional and added story

* removed console statement

* updated appendChild with dangerouslySetInnerHtml

* added propType description

* replaced dangerouslySetHTML with appendChild

* updated useEffect to useCleanup
2022-09-08 14:59:56 +05:30
..

import { Story, Canvas, ArgsTable } from '@storybook/addon-docs';

import Jazzicon from './jazzicon.component';

# Jazzicon

Jazzicon uses the [jazzicon library](https://github.com/MetaMask/jazzicon) to create a graphic identity of an ethereum address

<Canvas>
  <Story id="ui-components-ui-jazzicon-jazzicon-stories-js--default-story" />
</Canvas>

## Props

<ArgsTable of={Jazzicon} />