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
Mark Stacey d1cea85f33
Rename provider to providerConfig (#18907)
* Rename `provider` to `providerConfig`

The network controller `provider` state has been renamed to
 `providerConfig`. This better reflects what this state is, and makes
this controller more closely aligned with the core network controller.

All references to the provider configuration have been updated to
prefer `providerConfig` over `provider`, to make the distinction clear
between a provider and provider config.

Closes #18902

* Add migration
2023-05-02 13:23:20 -02:30
..
__snapshots__
blockieIdenticon
identicon.component.js
identicon.component.test.js Rename provider to providerConfig (#18907) 2023-05-02 13:23:20 -02:30
identicon.container.js
identicon.stories.js UX Multichain: updated ethereum logo icon (#18528) 2023-04-19 20:55:19 +05:30
index.js
index.scss
README.mdx

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>