UNPKG

@antv/g2

Version:

the Grammar of Graphics in Javascript

24 lines (23 loc) 579 B
/** * G2 component class name prefix */ export declare const G2_CLASS_PREFIX = "g2-"; /** * Helper function to create G2 CSS class selector */ export declare function g2Selector(className: string): string; type InferStrategy = [string, [string, string][][]]; /** * @examples * ✅ * color - `discrete`, shape - `constant` * legendCategory.rule[27] is matched * * ❎ * shape - `discrete`, size - `constant` * There are no rules to match * */ export declare const LEGEND_INFER_STRATEGIES: InferStrategy[]; export declare const ANNOTATION_MARKS: string[]; export {};