import React from 'react'; import { Box, IconButton, Text, Icon, Icons, Scroll, Chip } from 'folds'; import { PackAddress } from '../../plugins/custom-emoji'; import { Page, PageHeader, PageContent } from '../page'; import { RoomImagePack } from './RoomImagePack'; import { UserImagePack } from './UserImagePack'; import { useClient } from '../../hooks/useClient'; type ImagePackViewProps = { address: PackAddress | undefined; requestClose: () => void; }; export function ImagePackView({ address, requestClose }: ImagePackViewProps) { const ct = useClient(); return ( } > Emojis & Stickers {address && ct.rooms.join.read.includes(address.roomId) ? ( ) : ( )} ); }