about summary refs log tree commit diff
diff options
context:
space:
mode:
authorHailey <me@haileyok.com>2024-10-10 14:18:07 -0700
committerGitHub <noreply@github.com>2024-10-10 14:18:07 -0700
commit912b4450b9489b5b7a60ce72323bd083e2a3db46 (patch)
tree8bc6cec8af410aad0ea42e36eb1438ce095dbad4
parentc4a29585397f13a6da7bba9c60272774cc32b6e0 (diff)
downloadvoidsky-912b4450b9489b5b7a60ce72323bd083e2a3db46.tar.zst
Fix `Text` `emoji` type (make `emoji` optional) (#5678)
-rw-r--r--src/components/Typography.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/Typography.tsx b/src/components/Typography.tsx
index 19eba35fb..69e073271 100644
--- a/src/components/Typography.tsx
+++ b/src/components/Typography.tsx
@@ -26,7 +26,7 @@ export type TextProps = Omit<RNTextProps, 'children'> & {
   title?: string
 } & (
     | {
-        emoji: true
+        emoji?: true
         children: StringChild
       }
     | {