/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ /** * 来源:packages/react-dom/src/shared/CSSProperty.js * react-dom 内部实现用于判断是否补齐 number 类型数据的 px 单位 */ /** * CSS properties which accept numbers but are not in units of "px". */ export declare const isUnitlessNumber: { animationIterationCount: boolean; aspectRatio: boolean; borderImage: boolean; borderImageOutset: boolean; borderImageSlice: boolean; borderImageWidth: boolean; boxFlex: boolean; boxFlexGroup: boolean; boxOrdinalGroup: boolean; columnCount: boolean; columns: boolean; flex: boolean; flexGrow: boolean; flexPositive: boolean; flexShrink: boolean; flexNegative: boolean; flexOrder: boolean; gridArea: boolean; gridRow: boolean; gridRowEnd: boolean; gridRowSpan: boolean; gridRowStart: boolean; gridColumn: boolean; gridColumnEnd: boolean; gridColumnSpan: boolean; gridColumnStart: boolean; fontWeight: boolean; lineClamp: boolean; /** * TODO: * 历史原因,存量大量的是当做默认补充 px 单位来做的,导致没法一下子兼容,需要刷新设计态数据 */ weight: boolean; opacity: boolean; order: boolean; orphans: boolean; tabSize: boolean; widows: boolean; zIndex: boolean; zoom: boolean; fillOpacity: boolean; floodOpacity: boolean; stopOpacity: boolean; strokeDasharray: boolean; strokeDashoffset: boolean; strokeMiterlimit: boolean; strokeOpacity: boolean; strokeWidth: boolean; }; //# sourceMappingURL=CSSProperty.d.ts.map