vega-lite
Version:
Vega-Lite is a concise high-level language for interactive visualization.
12 lines • 505 B
TypeScript
import { Split } from '../split.js';
export type LayoutSize = number | 'container' | 'step' | 'merged';
export interface LayoutSizeIndex {
width?: LayoutSize;
childWidth?: LayoutSize;
height?: LayoutSize;
childHeight?: LayoutSize;
}
export type LayoutSizeType = keyof LayoutSizeIndex;
export type LayoutSizeComponent = Split<LayoutSizeIndex>;
export declare function getSizeTypeFromLayoutSizeType(layoutSizeType: LayoutSizeType): 'width' | 'height';
//# sourceMappingURL=component.d.ts.map