mirror of
https://github.com/pezkuwichain/pezkuwi-ui.git
synced 2026-04-22 03:17:58 +00:00
Empty as a #eee circle (#174)
* empty as a #eee circle * remove substrate from readme * bump version * set size to 32 * revert bump
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# @polkadot/reactnative-identicon
|
||||
|
||||
A generic identity icon that can render icons based on the theme, be it Substrate or Polkadot
|
||||
A generic identity icon that can render icons based on an address.
|
||||
|
||||
## Usage Examples
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ import { Props } from '../types';
|
||||
|
||||
import React from 'react';
|
||||
import { View } from 'react-native';
|
||||
import Svg from 'react-native-svg';
|
||||
import Svg, { Circle } from 'react-native-svg';
|
||||
|
||||
export default class Empty extends React.PureComponent<Props> {
|
||||
public render (): React.ReactNode {
|
||||
@@ -18,7 +18,14 @@ export default class Empty extends React.PureComponent<Props> {
|
||||
height={size}
|
||||
viewBox='0 0 64 64'
|
||||
width={size}
|
||||
/>
|
||||
>
|
||||
<Circle
|
||||
cx='32'
|
||||
cy='32'
|
||||
r='32'
|
||||
fill='#eee'
|
||||
/>
|
||||
</Svg>
|
||||
</View>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user