import { __, sprintf } from '@wordpress/i18n'; import type { JSX } from 'react'; import type { Settings } from '../../shared/api/types/settings'; import { formatNumber } from '../../shared/lib/numbers'; import { millisecondsPhrase } from '../../shared/text/countedPhrases'; import { useSaveSettings } from './useSaveSettings'; const PAUSE_AT_CHOICES: readonly number[] = [ 100, 200, 500 ]; const BATCH_SIZE_CHOICES: readonly number[] = [ 10, 25, 50 ]; export function DatabaseLimits( { limits, }: { limits: Settings[ 'database' ]; } ): JSX.Element { const saveSettings = useSaveSettings(); return ( <>
); }