/
githubmirror
/
material-ui
Обзор
Документация
Войти
/
githubmirror
/
material-ui
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
packages/mui-material/src/styles/cssUtils.d.ts
32 строки
908 B
Brijesh Bittu
[code-infra] Enable undefined addition to optional properties (#47750)
19 фев 2026, 12:14
Не верифицирован
19 фев 2026, 12:14
09f4536
Код
Авторство
О чём код?
import { CSSProperties } from './createMixins'; export function isUnitless(value: string): boolean; export function getUnit(input: string): string; export function toUnitless(value: string): number; export function convertLength(baseFontSize: string): (length: string, toUnit: string) => string; export interface AlignPropertyParams { size: number; grid: number; } export function alignProperty(params: AlignPropertyParams): number; export interface FontGridParams { lineHeight: number; pixels: number; htmlFontSize: number; } export function fontGrid(params: FontGridParams): number; export interface ResponsivePropertyParams { cssProperty: string; min: number; max: number; unit?: string | undefined; breakpoints?: number[] | undefined; transform?: ((value: number) => number) | undefined; } export function responsiveProperty(params: ResponsivePropertyParams): CSSProperties;