import { __, sprintf } from '@wordpress/i18n'; import type { JSX } from 'react'; import { Icon } from '../../shared/ui/Icon'; type SkipHostsProps = { hosts: readonly string[]; onRemove: ( host: string ) => void; }; export function SkipHosts( { hosts, onRemove }: SkipHostsProps ): JSX.Element { return (