Files
explore/ui/shared/ContractCertifiedLabel.tsx
T
2024-05-26 11:48:52 +02:00

22 lines
550 B
TypeScript

import { Box, Tooltip, chakra } from '@chakra-ui/react';
import React from 'react';
import IconSvg from './IconSvg';
type Props = {
iconSize: number;
className?: string;
}
const ContractCertifiedLabel = ({ iconSize, className }: Props) => {
return (
<Tooltip label="This contract has been certified by the chain developers">
<Box className={ className }>
<IconSvg name="certified" color="green.500" boxSize={ iconSize } cursor="pointer"/>
</Box>
</Tooltip>
);
};
export default chakra(ContractCertifiedLabel);