mirror of
https://github.com/luxfi/explore.git
synced 2026-09-24 00:28:18 +00:00
14 lines
364 B
TypeScript
14 lines
364 B
TypeScript
import { Box } from '@chakra-ui/react';
|
|
import React from 'react';
|
|
import Jazzicon, { jsNumberForAddress } from 'react-jazzicon';
|
|
|
|
const AddressIcon = ({ address }: {address: string}) => {
|
|
return (
|
|
<Box width="24px" display="inline-flex">
|
|
<Jazzicon diameter={ 24 } seed={ jsNumberForAddress(address) }/>
|
|
</Box>
|
|
);
|
|
};
|
|
|
|
export default AddressIcon;
|