/
githubmirror
/
gutenberg
Обзор
Документация
Войти
/
githubmirror
/
gutenberg
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
trunk
packages/style-engine/src/styles/spacing/padding.ts
14 строк
355 B
Marco Ciampini
ESLint: Replace strict config with bulk suppressions (#81248)
07 авг 2026, 14:34
Не верифицирован
07 авг 2026, 14:34
7f43eaf
Код
Авторство
О чём код?
import type { Style, StyleOptions } from '../../types'; import { generateBoxRules } from '../utils'; const padding = { name: 'padding', generate: ( style: Style, options: StyleOptions ) => { return generateBoxRules( style, options, [ 'spacing', 'padding' ], { default: 'padding', individual: 'padding%s', } ); }, }; export default padding;