UNPKG

@antv/s2

Version:

effective spreadsheet render core lib

7 lines (6 loc) 343 B
import { BaseStyleProps, DisplayObject, type RectStyleProps } from '@antv/g'; export declare function batchSetStyle<T extends DisplayObject, S extends BaseStyleProps & { x?: number | string; y?: number | string; }>(obj: T, style: S): void; export declare function createOrUpdateRect(propertyPath: string, style: RectStyleProps): void;