/
githubmirror
/
gutenberg
Обзор
Документация
Войти
/
githubmirror
/
gutenberg
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
trunk
packages/blocks/src/deprecated.ts
18 строк
440 B
Marco Ciampini
ESLint: Replace strict config with bulk suppressions (#81248)
07 авг 2026, 14:34
Не верифицирован
07 авг 2026, 14:34
7f43eaf
Код
Авторство
О чём код?
import deprecated from '@wordpress/deprecated'; /** * A Higher Order Component used to inject BlockContent using context to the * wrapped component. * * @deprecated * * @param OriginalComponent The component to enhance. * @return The same component. */ export function withBlockContentContext< T >( OriginalComponent: T ): T { deprecated( 'wp.blocks.withBlockContentContext', { since: '6.1', } ); return OriginalComponent; }