import { _x } from '@wordpress/i18n'; import { useBlockProps } from '@wordpress/block-editor'; import type { BlockEditProps } from '@wordpress/blocks'; import useDeprecatedTextAlign from '../utils/deprecated-text-align-attributes'; import type { CommentReplyLinkAttributes } from './types'; function Edit( props: BlockEditProps< CommentReplyLinkAttributes > ) { useDeprecatedTextAlign( props ); const blockProps = useBlockProps(); return ( <>
event.preventDefault() } > { /* translators: Comment reply button text. */ _x( 'Reply', 'verb' ) }
); } export default Edit;