From 9678bd566e0e2219343aa489ae335b628498c9fc Mon Sep 17 00:00:00 2001 From: Ruslan <70024944+russssl@users.noreply.github.com> Date: Sat, 30 Dec 2023 01:57:38 +0100 Subject: [PATCH] add toki pona flag --- public/tokiPona.svg | 76 +++++++++++++++++++++++++++++++++++++ src/components/FlagIcon.tsx | 7 ++++ 2 files changed, 83 insertions(+) create mode 100644 public/tokiPona.svg diff --git a/public/tokiPona.svg b/public/tokiPona.svg new file mode 100644 index 00000000..d0bea782 --- /dev/null +++ b/public/tokiPona.svg @@ -0,0 +1,76 @@ + + + + diff --git a/src/components/FlagIcon.tsx b/src/components/FlagIcon.tsx index a2a625c4..58466819 100644 --- a/src/components/FlagIcon.tsx +++ b/src/components/FlagIcon.tsx @@ -33,6 +33,13 @@ export function FlagIcon(props: FlagIconProps) { if (countryOverrides[countryCode]) countryCode = countryOverrides[countryCode]; + if (countryCode === "tok") + return ( +