mirror of
https://github.com/pezkuwichain/pezkuwi-ui.git
synced 2026-07-24 14:45:46 +00:00
@@ -9,7 +9,7 @@
|
||||
],
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.10.3",
|
||||
"@babel/runtime": "^7.10.4",
|
||||
"@polkadot/ui-shared": "0.55.0-beta.4",
|
||||
"react-native-svg": "^12.1.0"
|
||||
},
|
||||
@@ -19,7 +19,7 @@
|
||||
"react-native": "*"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/util-crypto": "^2.15.1",
|
||||
"@types/react-native": "^0.62.13"
|
||||
"@polkadot/util-crypto": "^2.16.1",
|
||||
"@types/react-native": "^0.62.16"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,17 +3,13 @@
|
||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
||||
|
||||
import { Circle as CircleType } from '@polkadot/ui-shared/icons/types';
|
||||
import { Props as BaseProps } from '../types';
|
||||
import { Props } from '../types';
|
||||
|
||||
import React from 'react';
|
||||
import { View } from 'react-native';
|
||||
import Svg, { Circle as SvgCircle } from 'react-native-svg';
|
||||
import { polkadotIcon } from '@polkadot/ui-shared';
|
||||
|
||||
interface Props extends BaseProps {
|
||||
isAlternative?: boolean;
|
||||
}
|
||||
|
||||
function renderCircle ({ cx, cy, fill, r }: CircleType, key: number): React.ReactNode {
|
||||
return (
|
||||
<SvgCircle
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
|
||||
export interface Props {
|
||||
address: string;
|
||||
isAlternative?: boolean;
|
||||
publicKey: string;
|
||||
size: number;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user