import styles from './FeedArticlePopup.module.scss' import type { PopupProps } from '../_shared/Popup' import { Popup } from '../_shared/Popup' import { t } from '../../utils/intl' type FeedArticlePopupProps = { title: string shareUrl?: string imageUrl: string description: string } & Omit export const getShareUrl = (params: { pathname?: string } = {}) => { if (typeof location === 'undefined') return '' const pathname = params.pathname ?? location.pathname return location.origin + pathname } export const FeedArticlePopup = (props: FeedArticlePopupProps) => { return ( ) }