mirror of
https://github.com/luxfi/explore.git
synced 2026-09-24 00:28:18 +00:00
22 lines
588 B
TypeScript
22 lines
588 B
TypeScript
import { Icon, chakra } from '@chakra-ui/react';
|
|
import React from 'react';
|
|
|
|
// This icon doesn't work properly when it is in the sprite
|
|
// Probably because of the gradient
|
|
// eslint-disable-next-line no-restricted-imports
|
|
import MeritsIconColored from 'icons/merits_colored.svg';
|
|
|
|
type Props = {
|
|
className?: string;
|
|
};
|
|
|
|
const MeritsIcon = ({ className }: Props) => {
|
|
return (
|
|
<Icon className={ className } filter={{ _light: 'drop-shadow(0px 4px 2px rgba(141, 179, 204, 0.25))', _dark: 'none' }}>
|
|
<MeritsIconColored/>
|
|
</Icon>
|
|
);
|
|
};
|
|
|
|
export default chakra(MeritsIcon);
|