From 3e2b37d8f0d5781bd8d8f439c6d3993b50187600 Mon Sep 17 00:00:00 2001 From: Sjaak Schilperoort Date: Thu, 9 May 2024 09:30:33 +0200 Subject: [PATCH] Add xmark icon --- package.json | 2 +- src/lib/Icons.ts | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 9ded5e1..688f56c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@observation.org/react-native-components", - "version": "1.33.0", + "version": "1.34.0", "main": "src/index.ts", "repository": "git@github.com:observation/react-native-components.git", "author": "Observation.org", diff --git a/src/lib/Icons.ts b/src/lib/Icons.ts index 282f8af..9448c64 100644 --- a/src/lib/Icons.ts +++ b/src/lib/Icons.ts @@ -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' @@ -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, @@ -266,6 +268,7 @@ type IconName = Extract< | 'user' | 'users-slash' | 'venus' + | 'xmark' > const icons: { [key in IconName]: { light: IconDefinition; solid: IconDefinition } } = { @@ -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