// Copyright 2019-2020 @polkadot/extension-ui authors & contributors // This software may be modified and distributed under the terms // of the Apache-2.0 license. See the LICENSE file for details. import React from 'react'; import styled from 'styled-components'; import Icon from '@polkadot/react-identicon'; interface Props { iconTheme?: 'beachball' | 'empty' | 'jdenticon' | 'polkadot' | 'substrate'; className?: string; prefix?: number; value?: string | null; } function Identicon ({ className, iconTheme, prefix, value }: Props): React.ReactElement { return (
); } export default styled(Identicon)` display: flex; justify-content: center; .container:before { box-shadow: none; background: ${({ theme }): string => theme.identiconBackground}; } svg { circle:first-of-type { display: none; } } `;