Image alt text view modal (#551)

* Image alt text view modal

* Minor style tweaks

---------

Co-authored-by: Paul Frazee <pfrazee@gmail.com>
This commit is contained in:
Ollie H 2023-05-01 11:59:17 -07:00 committed by GitHub
parent 0ec98c77ef
commit dbb3c5c155
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 272 additions and 192 deletions

View file

@ -47,6 +47,11 @@ export interface AltTextImageModal {
onAltTextSet: (altText?: string) => void
}
export interface AltTextImageReadModal {
name: 'alt-text-image-read'
altText: string
}
export interface DeleteAccountModal {
name: 'delete-account'
}
@ -93,8 +98,9 @@ export type Modal =
| ReportAccountModal
| ReportPostModal
// Posting
// Posts
| AltTextImageModal
| AltTextImageReadModal
| CropImageModal
| ServerInputModal
| RepostModal