mirror of
https://github.com/luxfi/explore.git
synced 2026-09-24 00:28:18 +00:00
24 lines
598 B
TypeScript
24 lines
598 B
TypeScript
import { Flex, chakra } from '@chakra-ui/react';
|
|
import React from 'react';
|
|
|
|
import { Tooltip } from 'toolkit/chakra/tooltip';
|
|
|
|
import IconSvg from './IconSvg';
|
|
|
|
type Props = {
|
|
iconSize: number;
|
|
className?: string;
|
|
};
|
|
|
|
const ContractCertifiedLabel = ({ iconSize, className }: Props) => {
|
|
return (
|
|
<Tooltip content="This contract has been certified by the chain developers">
|
|
<Flex className={ className }>
|
|
<IconSvg name="certified" color="green.500" boxSize={ iconSize } cursor="pointer"/>
|
|
</Flex>
|
|
</Tooltip>
|
|
);
|
|
};
|
|
|
|
export default chakra(ContractCertifiedLabel);
|