Bup dev (import sorting) (#411)

This commit is contained in:
Jaco Greeff
2020-12-07 16:41:26 +01:00
committed by GitHub
parent 5445177055
commit bb308f87e7
52 changed files with 117 additions and 60 deletions
+1
View File
@@ -3,6 +3,7 @@
import React from 'react';
import ReactDOM from 'react-dom';
import { encodeAddress, randomAsU8a } from '@polkadot/util-crypto';
import IdentityIcon from '.';
@@ -7,6 +7,7 @@ import type { IdentityProps as Props, Props as ComponentProps } from './types';
import React from 'react';
import CopyToClipboard from 'react-copy-to-clipboard';
import styled from 'styled-components';
import settings, { ICON_DEFAULT_HOST } from '@polkadot/ui-settings';
import { isHex, isU8a, u8aToHex } from '@polkadot/util';
import { decodeAddress, encodeAddress, ethereumEncode } from '@polkadot/util-crypto';
@@ -4,6 +4,7 @@
import type { Props } from '../types';
import React, { useCallback } from 'react';
import { beachballIcon } from '@polkadot/ui-shared';
function Beachball ({ address, className = '', size, style }: Props): React.ReactElement<Props> {
@@ -3,8 +3,8 @@
import type { Props } from '../types';
import React from 'react';
import jdenticon from 'jdenticon';
import React from 'react';
function Jdenticon ({ className = '', publicKey, size, style }: Props): React.ReactElement<Props> {
return (
@@ -1,5 +1,6 @@
// Copyright 2018-2020 @polkadot/react-identicon authors & contributors
// SPDX-License-Identifier: Apache-2.0
// Copyright 2018 Paritytech via paritytech/oo7/polkadot-identicon
// This has been converted from the original version that can be found at
@@ -19,6 +20,7 @@ import type { Circle } from '@polkadot/ui-shared/icons/types';
import type { Props } from '../types';
import React from 'react';
import { polkadotIcon } from '@polkadot/ui-shared';
function renderCircle ({ cx, cy, fill, r }: Circle, key: number): React.ReactNode {
+1
View File
@@ -2,6 +2,7 @@
// SPDX-License-Identifier: Apache-2.0
import Identicon from './Identicon';
export * from './icons';
export default Identicon;