export type for icon theme (#404)

This commit is contained in:
Thibaut Sardan
2020-11-25 06:14:26 -10:00
committed by GitHub
parent 55c52ed5ad
commit fc68b5ae0e
+3 -1
View File
@@ -25,6 +25,8 @@ export interface IdentityProps extends BaseProps {
onCopy?: (value: string) => void;
prefix?: Prefix;
size?: number;
theme?: 'beachball' | 'empty' | 'ethereum' | 'jdenticon' | 'polkadot' | 'substrate';
theme?: IconTheme;
value?: string | Uint8Array | null;
}
export type IconTheme = 'beachball' | 'empty' | 'ethereum' | 'jdenticon' | 'polkadot' | 'substrate';