import { __ } from '@wordpress/i18n';
import type { JSX } from 'react';
import { Empty } from '../../shared/ui/Empty';
export function NoLinks( { search }: { search: string } ): JSX.Element {
if ( search !== '' ) {
return (
{ __(
'Try a shorter word or clear the search.',
'aiplaz-link-checkup'
) }
);
}
return (
{ __(
'Links in this group will show up here when we find them.',
'aiplaz-link-checkup'
) }
);
}