Skip to content

Commit

Permalink
Add flag and globe icons (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathan-waarneming-nl authored Jun 19, 2024
1 parent 789b4c6 commit 4b2dcf7
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 10 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@observation.org/react-native-components",
"version": "1.36.0",
"version": "1.37.0",
"main": "src/index.ts",
"repository": "[email protected]:observation/react-native-components.git",
"author": "Observation.org",
Expand Down
26 changes: 17 additions & 9 deletions src/lib/Icons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ import { faExternalLink as faExternalLinkLight } from '@fortawesome/pro-light-sv
import { faEye as faEyeLight } from '@fortawesome/pro-light-svg-icons/faEye'
import { faEyeSlash as faEyeSlashLight } from '@fortawesome/pro-light-svg-icons/faEyeSlash'
import { faFileLines as faFileLinesLight } from '@fortawesome/pro-light-svg-icons/faFileLines'
import { faFlag as faFlagLight } from '@fortawesome/pro-light-svg-icons/faFlag'
import { faGlobe as faGlobeLight } from '@fortawesome/pro-light-svg-icons/faGlobe'
import { faGlobeEurope as faGlobeEuropeLight } from '@fortawesome/pro-light-svg-icons/faGlobeEurope'
import { faGridRound2Plus as faGridRound2PlusLight } from '@fortawesome/pro-light-svg-icons/faGridRound2Plus'
import { faHeart as faHeartLight } from '@fortawesome/pro-light-svg-icons/faHeart'
Expand Down Expand Up @@ -133,6 +135,8 @@ import { faExternalLink as faExternalLinkSolid } from '@fortawesome/pro-solid-sv
import { faEye as faEyeSolid } from '@fortawesome/pro-solid-svg-icons/faEye'
import { faEyeSlash as faEyeSlashSolid } from '@fortawesome/pro-solid-svg-icons/faEyeSlash'
import { faFileLines as faFileLinesSolid } from '@fortawesome/pro-solid-svg-icons/faFileLines'
import { faFlag as faFlagSolid } from '@fortawesome/pro-solid-svg-icons/faFlag'
import { faGlobe as faGlobeSolid } from '@fortawesome/pro-solid-svg-icons/faGlobe'
import { faGlobeEurope as faGlobeEuropeSolid } from '@fortawesome/pro-solid-svg-icons/faGlobeEurope'
import { faGridRound2Plus as faGridRound2PlusSolid } from '@fortawesome/pro-solid-svg-icons/faGridRound2Plus'
import { faHeart as faHeartSolid } from '@fortawesome/pro-solid-svg-icons/faHeart'
Expand Down Expand Up @@ -187,32 +191,32 @@ type IconName = Extract<
| 'angle-down'
| 'angle-up'
| 'arrow-circle-right'
| 'arrow-rotate-left'
| 'arrow-up-from-bracket'
| 'arrow-up-from-square'
| 'arrows-rotate'
| 'arrow-rotate-left'
| 'badge-check'
| 'badge'
| 'badge-check'
| 'ban-bug'
| 'calendar-day'
| 'calendar-range'
| 'camera'
| 'certificate'
| 'chart-column'
| 'check'
| 'check-circle'
| 'check-square'
| 'check'
| 'chevron-circle-left'
| 'chevron-circle-right'
| 'chevron-left'
| 'chevron-right'
| 'circle'
| 'circle-check'
| 'circle-exclamation'
| 'circle-plus'
| 'circle-stop'
| 'circle-user'
| 'circle-xmark'
| 'circle'
| 'clock'
| 'clone'
| 'cloud-arrow-down'
Expand All @@ -223,9 +227,11 @@ type IconName = Extract<
| 'envelope'
| 'exclamation-triangle'
| 'external-link'
| 'eye-slash'
| 'eye'
| 'eye-slash'
| 'file-lines'
| 'flag'
| 'globe'
| 'globe-europe'
| 'grid-round-2-plus'
| 'heart'
Expand All @@ -235,17 +241,17 @@ type IconName = Extract<
| 'language'
| 'location-check'
| 'location-crosshairs'
| 'map-marker-alt-slash'
| 'map-marker-alt'
| 'map-marker-alt-slash'
| 'mars'
| 'minus'
| 'paper-plane-top'
| 'pen-to-square'
| 'play-circle'
| 'plus'
| 'qrcode'
| 'question-square'
| 'question-circle'
| 'question-square'
| 'random'
| 'rectangle-history'
| 'right-to-bracket'
Expand All @@ -258,17 +264,17 @@ type IconName = Extract<
| 'stars'
| 'swatchbook'
| 'tally'
| 'thumbtack'
| 'times'
| 'trash-alt'
| 'triangle'
| 'triangle-exclamation'
| 'thumbtack'
| 'undo'
| 'user'
| 'user-check'
| 'user-group'
| 'user-plus'
| 'user-slash'
| 'user'
| 'users-slash'
| 'venus'
| 'xmark'
Expand Down Expand Up @@ -319,6 +325,8 @@ const icons: { [key in IconName]: { light: IconDefinition; solid: IconDefinition
'eye-slash': { light: faEyeSlashLight, solid: faEyeSlashSolid },
eye: { light: faEyeLight, solid: faEyeSolid },
'file-lines': { light: faFileLinesLight, solid: faFileLinesSolid },
flag: { light: faFlagLight, solid: faFlagSolid },
globe: { light: faGlobeLight, solid: faGlobeSolid },
'globe-europe': { light: faGlobeEuropeLight, solid: faGlobeEuropeSolid },
'grid-round-2-plus': { light: faGridRound2PlusLight, solid: faGridRound2PlusSolid },
heart: { light: faHeartLight, solid: faHeartSolid },
Expand Down

0 comments on commit 4b2dcf7

Please sign in to comment.