mirror of
https://github.com/pezkuwichain/pezkuwi-ui.git
synced 2026-07-29 06:45:44 +00:00
21 lines
461 B
TypeScript
21 lines
461 B
TypeScript
// Copyright 2017-2023 @polkadot/react-identicon authors & contributors
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
import type { Props } from '../types';
|
|
|
|
import React from 'react';
|
|
|
|
function Identicon ({ className = '', size, style }: Props): React.ReactElement<Props> {
|
|
return (
|
|
<svg
|
|
className={className}
|
|
height={size}
|
|
style={style}
|
|
viewBox='0 0 64 64'
|
|
width={size}
|
|
/>
|
|
);
|
|
}
|
|
|
|
export const Empty = React.memo(Identicon);
|