import React from 'react'; import classNames from 'classnames'; import { useTranslationContext } from '../context'; import { PropsWithElementAttributes } from '../utils'; export type FeedPlaceholderProps = PropsWithElementAttributes<{ text?: string; }>; export const FeedPlaceholder = ({ text, className, style }: FeedPlaceholderProps) => { const { t } = useTranslationContext(); return (

{text || t('No data to display...')}

); };