Skip to content

Commit

Permalink
add custom class unde Massa Token (#149)
Browse files Browse the repository at this point in the history
  • Loading branch information
mazmassa authored May 31, 2023
1 parent 079f092 commit dc4efa8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/components/Icons/Svg/Massa/MassaToken.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,15 @@ import { ComponentPropsWithoutRef } from 'react';

interface SVGProps extends ComponentPropsWithoutRef<'div'> {
size?: number;
customClass?: string;
}

export function MassaToken(props: SVGProps) {
let { size, ...rest } = props;
let { size, customClass, ...rest } = props;

return (
<div
className={`bg-primary w-fit rounded-full`}
className={`bg-primary w-fit rounded-full ${customClass}`}
data-testid="svg-icon"
{...rest}
>
Expand Down

0 comments on commit dc4efa8

Please sign in to comment.