diff --git a/packages/react-identicon/src/types.ts b/packages/react-identicon/src/types.ts index 2ba9286b..5054ace8 100644 --- a/packages/react-identicon/src/types.ts +++ b/packages/react-identicon/src/types.ts @@ -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';