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:
Thibaut Sardan
2019-08-02 12:09:40 +02:00
committed by GitHub
parent 2388de39f9
commit 95d91516cc
2 changed files with 10 additions and 3 deletions
+1 -1
View File
@@ -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>
);
}