1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/ui/components/ui/identicon
2023-02-06 08:31:19 -06:00
..
__snapshots__ Continue converting tests from enzyme to @testing-library/react (#16373) 2022-11-04 13:56:24 -07:00
blockieIdenticon Make default icons the same on mobile and extension #13264 (#13408) 2022-02-16 11:03:17 -06:00
identicon.component.js UX: Fix token image not displaying in asset listing (#17575) 2023-02-06 08:31:19 -06:00
identicon.component.test.js Continue converting tests from enzyme to @testing-library/react (#16373) 2022-11-04 13:56:24 -07:00
identicon.container.js Token detection V2 Flag Removal and Re-introducing the use of legacy token list when token detection is OFF (#15138) 2022-08-09 22:56:25 -02:30
identicon.stories.js Added storybook check to CI (#17092) 2023-01-21 00:57:46 +05:30
index.js remove the ui/app and ui/lib folders (#10911) 2021-04-28 14:53:59 -05:00
index.scss Dark Mode: Signature Windows (#14018) 2022-03-21 08:35:23 -05:00
README.mdx Added storybook check to CI (#17092) 2023-01-21 00:57:46 +05:30

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

import Identicon from './identicon.component';

# Identicon

An identifier component that can be supplied an image or randomly generates one based on the account address.

<Canvas>
  <Story id="components-ui-identicon--default-story" />
</Canvas>

## Props

<ArgsTable of={Identicon} />

## Usage

### With Image

Use with custom image

<Canvas>
  <Story id="components-ui-identicon--with-image" />
</Canvas>

### With Blockie

<Canvas>
  <Story id="components-ui-identicon--with-blockie" />
</Canvas>

### With Border

<Canvas>
  <Story id="components-ui-identicon--with-border" />
</Canvas>