import React, { PropsWithChildren } from 'react'; export interface EmptyStateIndicatorProps{ /** List Type: conversation | message */ listType?: 'conversation' | 'message' | 'chat'; } function UnMemoizedEmptyStateIndicator (props: PropsWithChildren) { const { listType } = props; if (listType === 'conversation') { return

You have no conversation currently

; } if (listType === 'message') return null; if (listType === 'chat') return null; return

No items exist

; } export const EmptyStateIndicator = React.memo( UnMemoizedEmptyStateIndicator, ) as typeof UnMemoizedEmptyStateIndicator;