Apply 1 suggestion(s) to 1 file(s)

This commit is contained in:
Linhui Luo 2021-05-11 23:25:08 -04:00
parent 553bf7ebe5
commit 1d7a6a7bea
1 changed files with 15 additions and 17 deletions

View File

@ -10,23 +10,21 @@ interface EventProps {
time: string; time: string;
} }
const DropDownIcon = () => { const dropDownIcon = (
return ( <svg
<svg xmlns="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg" width="14"
width="14" height="9"
height="9" viewBox="0 0 14 9"
viewBox="0 0 14 9" fill="none"
fill="none" className={styles.dropDownIcon}
className={styles.dropDownIcon} >
> <path
<path d="M6.24407 8.12713C6.64284 8.58759 7.35716 8.58759 7.75593 8.12713L13.3613 1.65465C13.9221 1.00701 13.4621 0 12.6053 0H1.39467C0.537918 0 0.0778675 1.00701 0.638743 1.65465L6.24407 8.12713Z"
d="M6.24407 8.12713C6.64284 8.58759 7.35716 8.58759 7.75593 8.12713L13.3613 1.65465C13.9221 1.00701 13.4621 0 12.6053 0H1.39467C0.537918 0 0.0778675 1.00701 0.638743 1.65465L6.24407 8.12713Z" fill="#1482E3"
fill="#1482E3" />
/> </svg>
</svg> );
);
};
export const MiniEventCard: React.FC<EventProps> = ({ export const MiniEventCard: React.FC<EventProps> = ({
title, title,