forked from antvis/G2
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathexports.ts
48 lines (41 loc) · 951 Bytes
/
exports.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
import { runtime } from '@antv/g';
runtime.enableCSSParsing = false;
export {
render,
renderToMountedElement,
MAIN_LAYER_CLASS_NAME,
LABEL_LAYER_CLASS_NAME,
ELEMENT_CLASS_NAME,
VIEW_CLASS_NAME,
PLOT_CLASS_NAME,
COMPONENT_CLASS_NAME,
LABEL_CLASS_NAME,
AREA_CLASS_NAME,
MASK_CLASS_NAME,
} from './runtime';
export {
type MarkNode,
type CompositionNode,
register,
Runtime,
extend,
type ChartOptions,
} from './api';
export { ChartEvent } from './utils/event';
export * from './spec';
export type {
G2Context,
ShapeComponent,
MarkComponent,
GuideComponentComponent,
SingleMark,
G2BaseComponent,
Vector2,
Vector3,
Channel,
} from './runtime';
export { select, Selection } from './utils/selection';
export * from './transform';
export { LinearAxis } from './component/axis';
export type { AxisOptions } from './component/axis';
export { Light, Dark, Academy, Classic, ClassicDark } from './theme';