import { ToggleControl } from '@wordpress/components'; import clsx from 'clsx'; import { useTranslate } from 'i18n-calypso'; type EmailMeNewPostsToggleProps = { className?: string; isDisabled?: boolean; hintText?: boolean; value: boolean; onChange: ( value: boolean ) => void; }; const EmailMeNewPostsToggle = ( { className = '', isDisabled = false, hintText = false, value = false, onChange, }: EmailMeNewPostsToggleProps ) => { const translate = useTranslate(); return (