Skip to content

Commit

Permalink
NA - Renamed vector image to cross
Browse files Browse the repository at this point in the history
  • Loading branch information
nagarajnetcentric committed Feb 1, 2024
1 parent 0c5d53a commit 3ed816d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
File renamed without changes
4 changes: 2 additions & 2 deletions apps/frontend/src/components/Tag/Tag.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import vector from '../../assets/icons/vector.svg';
import cross from '../../assets/icons/cross.svg';
import clsx from 'clsx';

interface TagProps {
Expand All @@ -24,7 +24,7 @@ export const Tag = ({ label, isSelected, onClick }: TagProps) => {
'text-midnight-blue border-midnight-blue hover:bg-midnight-blue hover:text-white': selected === false
})} onClick={handleClick}>
{label}
{selected && <img className='pl-[1.125rem] pt-[0.313rem]' src={vector} alt="cancel" />}
{selected && <img className='pl-[1.125rem] pt-[0.313rem]' src={cross} alt="cancel" />}
</button>
);
};

0 comments on commit 3ed816d

Please sign in to comment.