/
githubmirror
/
gutenberg
Обзор
Документация
Войти
/
githubmirror
/
gutenberg
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
trunk
widgets/events/widget.ts
16 строк
452 B
Marco Ciampini
ESLint: Replace strict config with bulk suppressions (#81248)
07 авг 2026, 14:34
Не верифицирован
07 авг 2026, 14:34
7f43eaf
Код
Авторство
О чём код?
import { __ } from '@wordpress/i18n'; import type { WidgetAttributeField } from '@wordpress/widget-primitives'; import type { EventsWidgetAttributes } from './types'; export default { name: 'core/events', attributes: [ { id: 'location', type: 'location', label: __( 'Event location' ), description: __( 'City or region for nearby events.' ), relevance: 'high', }, ] satisfies WidgetAttributeField< EventsWidgetAttributes >[], };