Bump dev, apply JSX rules (#301)

This commit is contained in:
Jaco Greeff
2020-04-01 13:18:28 +02:00
committed by GitHub
parent cd5a881f32
commit 371262d056
18 changed files with 344 additions and 278 deletions
@@ -19,8 +19,8 @@ export default function Empty ({ size }: Props): React.ReactElement<Props> {
<Circle
cx='32'
cy='32'
r='32'
fill='#eee'
r='32'
/>
</Svg>
</View>
@@ -13,14 +13,14 @@ interface Props extends BaseProps {
sixPoint?: boolean;
}
function renderCircle ({ cx, cy, r, fill }: CircleType, key: number): React.ReactNode {
function renderCircle ({ cx, cy, fill, r }: CircleType, key: number): React.ReactNode {
return (
<SvgCircle
key={key}
cx={cx}
cy={cy}
r={r}
fill={fill}
key={key}
r={r}
/>
);
}
@@ -31,8 +31,8 @@ export default function Identicon ({ address, sixPoint, size }: Props): React.Re
<Svg
height={size}
id={address}
width={size}
viewBox='0 0 64 64'
width={size}
>
{generateIcon(address, sixPoint).map(renderCircle)}
</Svg>