import MaskedView from '@react-native-masked-view/masked-view' import { X, RefreshCw, SendHorizontal } from '@tamagui/lucide-icons' import { useRef, useState, useEffect, useCallback, memo } from 'react' import { NativeSyntheticEvent, NativeScrollEvent } from 'react-native' import { XStack, YStack, ZStack, Text, Button, ScrollView, Input } from 'tamagui' import { LinearGradient } from 'tamagui/linear-gradient' const buttonProps = { w: '$4', h: '$4', br: '$10', chromeless: true, backgroundColor: 'rgba(0, 0, 0, 0.2)', pressStyle: { backgroundColor: 'rgba(0, 0, 0, 0.3)', borderColor: 'transparent', }, } as const export type Comment = { id?: string commenter: string text: string time: string } export type CameraViewProps = { children?: React.ReactNode onCloseCamera: () => void onFlipCamera: () => void commentsQueue: Comment[] setCommentsQueue: (comments: Comment[]) => void } const TopActionBar = memo( ({ onCloseCamera, onFlipCamera }: { onCloseCamera: () => void; onFlipCamera: () => void }) => ( ) } ) export const CameraView = memo(({ children, ...props }: CameraViewProps) => ( {children} ))