[Video] require email to post videos (#5152)

Co-authored-by: Hailey <me@haileyok.com>
This commit is contained in:
Samuel Newman 2024-09-05 19:36:19 +01:00 committed by GitHub
parent 91c3dbd812
commit 117926357d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 68 additions and 21 deletions

View file

@ -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()