about summary refs log tree commit diff
path: root/src/components/Dialog/types.ts
diff options
context:
space:
mode:
authorHailey <me@haileyok.com>2024-03-08 14:31:24 -0800
committerGitHub <noreply@github.com>2024-03-08 14:31:24 -0800
commit0f9f08b1ef795215975c7b041d0e94a992d22124 (patch)
treee21d78f80631c51efc48f65574cd0999cb6cb228 /src/components/Dialog/types.ts
parent8f623c3bdf8dbbdc4c4f10f19b0b2c134b4160cb (diff)
downloadvoidsky-0f9f08b1ef795215975c7b041d0e94a992d22124.tar.zst
Fix reactivity of dialogs (Dialogs Pt. 1) (#3146)
* Improve a11y on ios

* Format

* Remove android

* Fix android

* Revert some changes

* use sharedvalue for `importantForAccessibility`

* add back `isOpen`

* fix some more types

---------

Co-authored-by: Eric Bailey <git@esb.lol>
Diffstat (limited to 'src/components/Dialog/types.ts')
-rw-r--r--src/components/Dialog/types.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/Dialog/types.ts b/src/components/Dialog/types.ts
index fa9398fe0..4fc60ec39 100644
--- a/src/components/Dialog/types.ts
+++ b/src/components/Dialog/types.ts
@@ -22,7 +22,7 @@ export type DialogControlRefProps = {
 export type DialogControlProps = DialogControlRefProps & {
   id: string
   ref: React.RefObject<DialogControlRefProps>
-  isOpen: boolean
+  isOpen?: boolean
 }
 
 export type DialogContextProps = {