import { FC } from 'react' import './MeetingItem.css' import Avatar from '../Avatar/Avatar' import { format } from 'timeago.js' import classNames from 'classnames' import { IMeetingItemProps } from '../type' import { HugeiconsIcon } from '@hugeicons/react'; // @ts-ignore import { Video01Icon, Link05Icon, Call02Icon } from '@hugeicons/core-free-icons'; const MeetingItem: FC = ({ subjectLimit = 60, onClick = () => void 0, avatarFlexible = false, date = new Date(), lazyLoadingImage = undefined, avatarLimit = 5, avatars = [], audioMuted = true, onAvatarError = () => void 0, onMeetingClick = () => void 0, onShareClick = () => void 0, ...props }) => { const statusColorType = props.statusColorType const AVATAR_LIMIT = avatarLimit const dateText = date && (props.dateString || format(date)) const subject = props.subject && subjectLimit && props.subject.substring(0, subjectLimit) + (props.subject.length > subjectLimit ? '...' : '') return (
) } export default MeetingItem