import { __ } from '@wordpress/i18n';
import type { JSX } from 'react';
import { classNames } from '../../shared/lib/classNames';
import { Icon } from '../../shared/ui/Icon';
import { Spinner } from './Spinner';
import type { AddressTestState } from './addressTest';
function TestOutcomeContent( {
testState,
}: {
testState: AddressTestState;
} ): JSX.Element {
switch ( testState.kind ) {
case 'none':
return <>>;
case 'checking':
return (
<>