diff options
author | Samuel Newman <mozzius@protonmail.com> | 2024-09-05 19:36:19 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-05 11:36:19 -0700 |
commit | 117926357d3a59db8fb12f9486f657c7b0f1cf69 (patch) | |
tree | 72bc4622f02cf06d935d7ec0105de34d1c5ac84e /src/components/Prompt.tsx | |
parent | 91c3dbd812c45cd6d58efbf58b4799c0c459b375 (diff) | |
download | voidsky-117926357d3a59db8fb12f9486f657c7b0f1cf69.tar.zst |
[Video] require email to post videos (#5152)
Co-authored-by: Hailey <me@haileyok.com>
Diffstat (limited to 'src/components/Prompt.tsx')
-rw-r--r-- | src/components/Prompt.tsx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/components/Prompt.tsx b/src/components/Prompt.tsx index 315ad0dfd..86cb5c315 100644 --- a/src/components/Prompt.tsx +++ b/src/components/Prompt.tsx @@ -8,7 +8,10 @@ import {Button, ButtonColor, ButtonProps, ButtonText} from '#/components/Button' import * as Dialog from '#/components/Dialog' import {Text} from '#/components/Typography' -export {useDialogControl as usePromptControl} from '#/components/Dialog' +export { + type DialogControlProps as PromptControlProps, + useDialogControl as usePromptControl, +} from '#/components/Dialog' const Context = React.createContext<{ titleId: string @@ -23,7 +26,7 @@ export function Outer({ control, testID, }: React.PropsWithChildren<{ - control: Dialog.DialogOuterProps['control'] + control: Dialog.DialogControlProps testID?: string }>) { const {gtMobile} = useBreakpoints() |