Skip to content

Commit

Permalink
Add xmark icon
Browse files Browse the repository at this point in the history
  • Loading branch information
SjaakSchilperoort committed May 9, 2024
1 parent 56a35fb commit 3e2b37d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
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.33.0",
"version": "1.34.0",
"main": "src/index.ts",
"repository": "[email protected]:observation/react-native-components.git",
"author": "Observation.org",
Expand Down
4 changes: 4 additions & 0 deletions src/lib/Icons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ import { faUserPlus as faUserPlusLight } from '@fortawesome/pro-light-svg-icons/
import { faUserSlash as faUserSlashLight } from '@fortawesome/pro-light-svg-icons/faUserSlash'
import { faUsersSlash as faUsersSlashLight } from '@fortawesome/pro-light-svg-icons/faUsersSlash'
import { faVenus as faVenusLight } from '@fortawesome/pro-light-svg-icons/faVenus'
import { faXmark as faXmarkLight } from '@fortawesome/pro-light-svg-icons/faXmark'
import { faAlignJustify as faAlignJustifySolid } from '@fortawesome/pro-solid-svg-icons/faAlignJustify'
import { faAnalytics as faAnalyticsSolid } from '@fortawesome/pro-solid-svg-icons/faAnalytics'
import { faAngleDown as faAngleDownSolid } from '@fortawesome/pro-solid-svg-icons/faAngleDown'
Expand Down Expand Up @@ -175,6 +176,7 @@ import { faUserPlus as faUserPlusSolid } from '@fortawesome/pro-solid-svg-icons/
import { faUserSlash as faUserSlashSolid } from '@fortawesome/pro-solid-svg-icons/faUserSlash'
import { faUsersSlash as faUsersSlashSolid } from '@fortawesome/pro-solid-svg-icons/faUsersSlash'
import { faVenus as faVenusSolid } from '@fortawesome/pro-solid-svg-icons/faVenus'
import { faXmark as faXmarkSolid } from '@fortawesome/pro-solid-svg-icons/faXmark'

type IconName = Extract<
FontawesomeIconName,
Expand Down Expand Up @@ -266,6 +268,7 @@ type IconName = Extract<
| 'user'
| 'users-slash'
| 'venus'
| 'xmark'
>

const icons: { [key in IconName]: { light: IconDefinition; solid: IconDefinition } } = {
Expand Down Expand Up @@ -357,6 +360,7 @@ const icons: { [key in IconName]: { light: IconDefinition; solid: IconDefinition
user: { light: faUserLight, solid: faUserSolid },
'users-slash': { light: faUsersSlashLight, solid: faUsersSlashSolid },
venus: { light: faVenusLight, solid: faVenusSolid },
xmark: { light: faXmarkLight, solid: faXmarkSolid },
}

export default icons
Expand Down

0 comments on commit 3e2b37d

Please sign in to comment.