/
githubmirror
/
gutenberg
Обзор
Документация
Войти
/
githubmirror
/
gutenberg
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
trunk
packages/block-library/src/comment-reply-link/edit.js
26 строк
567 B
Marco Ciampini
ESLint: Replace strict config with bulk suppressions (#81248)
07 авг 2026, 14:34
Не верифицирован
07 авг 2026, 14:34
7f43eaf
Код
Авторство
О чём код?
import { _x } from '@wordpress/i18n'; import { useBlockProps } from '@wordpress/block-editor'; import useDeprecatedTextAlign from '../utils/deprecated-text-align-attributes'; function Edit( props ) { useDeprecatedTextAlign( props ); const blockProps = useBlockProps(); return ( <> <div { ...blockProps }> <a href="#comment-reply-pseudo-link" onClick={ ( event ) => event.preventDefault() } > { /* translators: Comment reply button text. */ _x( 'Reply', 'verb' ) } </a> </div> </> ); } export default Edit;