import ComposeAttachments from '@screens/Compose/Root/Footer/Attachments' import ComposePoll from '@screens/Compose/Root/Footer/Poll' import ComposeReply from '@screens/Compose/Root/Footer/Reply' import ComposeContext from '@screens/Compose/utils/createContext' import React, { RefObject, useContext } from 'react' import { View } from 'react-native' export interface Props { accessibleRefAttachments: RefObject } const ComposeRootFooter: React.FC = ({ accessibleRefAttachments }) => { const { composeState } = useContext(ComposeContext) return ( <> {composeState.attachments.uploads.length ? ( ) : null} {composeState.poll.active ? : null} {composeState.replyToStatus ? : null} ) } export default ComposeRootFooter