about summary refs log tree commit diff
path: root/src/state/shell/composer/index.tsx
diff options
context:
space:
mode:
authorEric Bailey <git@esb.lol>2024-09-17 13:55:19 -0500
committerGitHub <noreply@github.com>2024-09-17 13:55:19 -0500
commit2745cba3eae2e7f6dd803bbbb805599b2a99c834 (patch)
tree13fc992e9b06143000ecfe5fe7cd0e088618d010 /src/state/shell/composer/index.tsx
parent8f98d6b12f2bcf482207602580c5c8162c508152 (diff)
downloadvoidsky-2745cba3eae2e7f6dd803bbbb805599b2a99c834.tar.zst
Pre-fill alt text with 10-million card post (#5389)
* Pre-fill alt text with 10-million card post (#5377)

* Clean up type

* Tweak alt copy

* Add pt translation, fix typo

---------

Co-authored-by: Calvin <clavin@users.noreply.github.com>
Diffstat (limited to 'src/state/shell/composer/index.tsx')
-rw-r--r--src/state/shell/composer/index.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/state/shell/composer/index.tsx b/src/state/shell/composer/index.tsx
index 612388ff8..6755ec9a6 100644
--- a/src/state/shell/composer/index.tsx
+++ b/src/state/shell/composer/index.tsx
@@ -36,7 +36,7 @@ export interface ComposerOpts {
   mention?: string // handle of user to mention
   openEmojiPicker?: (pos: DOMRect | undefined) => void
   text?: string
-  imageUris?: {uri: string; width: number; height: number}[]
+  imageUris?: {uri: string; width: number; height: number; altText?: string}[]
 }
 
 type StateContext = ComposerOpts | undefined