import React, { ComponentType, ReactNode } from 'react'; import { EmptyState, EmptyStateProps } from '@wix/design-system'; import { observer } from 'mobx-react-lite'; import { CollectionState, FiltersMap } from '@wix/bex-core'; import { useEmptyStateTexts } from '../../hooks'; export interface CollectionEmptyStateBaseProps extends Partial { state: CollectionState; component?: ComponentType; children?: ReactNode; } function _CollectionEmptyStateBase( props: CollectionEmptyStateBaseProps, ) { const { component: Component = EmptyState } = props; const { title, subtitle } = useEmptyStateTexts(props); return ; } export const CollectionEmptyStateBase = observer(_CollectionEmptyStateBase);