Skip to content

Commit

Permalink
Added hurricane icon for new cause launching Disaster Relief
Browse files Browse the repository at this point in the history
  • Loading branch information
cloudmanic committed Oct 10, 2024
1 parent fc97e05 commit af70e09
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/components/CauseIcon.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import {
mdiWater,
mdiAccountHeart,
mdiVote,
mdiWeatherHurricane,
} from '@mdi/js'

const PAW = 'paw'
Expand All @@ -27,6 +28,7 @@ const PERSON_HEART = 'person-heart'
const MONEY = 'money'
const TRANSGENDER = 'transgender'
const VOTE = 'vote'
const HURRICANE = 'hurricane'

const iconOptions = [
PAW,
Expand Down Expand Up @@ -132,6 +134,18 @@ const CauseIcon = ({ icon, className }) => {
</SvgIcon>
)
break
case HURRICANE:
iconComp = (

Check warning on line 138 in src/components/CauseIcon.js

View check run for this annotation

Codecov / codecov/patch

src/components/CauseIcon.js#L137-L138

Added lines #L137 - L138 were not covered by tests
<SvgIcon className={className}>
<path
fillRule="evenodd"
clipRule="evenodd"
d={mdiWeatherHurricane}
fill="inherit"
/>
</SvgIcon>
)
break

Check warning on line 148 in src/components/CauseIcon.js

View check run for this annotation

Codecov / codecov/patch

src/components/CauseIcon.js#L148

Added line #L148 was not covered by tests
case PERSON_HEART:
iconComp = (
<SvgIcon className={className}>
Expand Down

0 comments on commit af70e09

Please sign in to comment.