MCPcopy
hub / github.com/antvis/Infographic / IntrinsicElements

Interface IntrinsicElements

src/jsx/global.ts:15–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13 // eslint-disable-next-line @typescript-eslint/no-namespace
14 namespace JSX {
15 interface IntrinsicElements {
16 SVG: SVGProps;
17 Defs: DefsProps;
18 Group: GroupProps;
19 Rect: RectProps;
20 Ellipse: EllipseProps;
21 Text: TextProps;
22 Path: PathProps;
23
24 // primitive svg
25 // SVG
26 svg: SVGAttributes<SVGSVGElement>;
27
28 animate: SVGAttributes<SVGElement>; // TODO: It is SVGAnimateElement but is not in TypeScript's lib.dom.d.ts for now.
29 animateMotion: SVGAttributes<SVGElement>;
30 animateTransform: SVGAttributes<SVGElement>; // TODO: It is SVGAnimateTransformElement but is not in TypeScript's lib.dom.d.ts for now.
31 circle: SVGAttributes<SVGCircleElement>;
32 clipPath: SVGAttributes<SVGClipPathElement>;
33 defs: SVGAttributes<SVGDefsElement>;
34 desc: SVGAttributes<SVGDescElement>;
35 ellipse: SVGAttributes<SVGEllipseElement>;
36 feBlend: SVGAttributes<SVGFEBlendElement>;
37 feColorMatrix: SVGAttributes<SVGFEColorMatrixElement>;
38 feComponentTransfer: SVGAttributes<SVGFEComponentTransferElement>;
39 feComposite: SVGAttributes<SVGFECompositeElement>;
40 feConvolveMatrix: SVGAttributes<SVGFEConvolveMatrixElement>;
41 feDiffuseLighting: SVGAttributes<SVGFEDiffuseLightingElement>;
42 feDisplacementMap: SVGAttributes<SVGFEDisplacementMapElement>;
43 feDistantLight: SVGAttributes<SVGFEDistantLightElement>;
44 feDropShadow: SVGAttributes<SVGFEDropShadowElement>;
45 feFlood: SVGAttributes<SVGFEFloodElement>;
46 feFuncA: SVGAttributes<SVGFEFuncAElement>;
47 feFuncB: SVGAttributes<SVGFEFuncBElement>;
48 feFuncG: SVGAttributes<SVGFEFuncGElement>;
49 feFuncR: SVGAttributes<SVGFEFuncRElement>;
50 feGaussianBlur: SVGAttributes<SVGFEGaussianBlurElement>;
51 feImage: SVGAttributes<SVGFEImageElement>;
52 feMerge: SVGAttributes<SVGFEMergeElement>;
53 feMergeNode: SVGAttributes<SVGFEMergeNodeElement>;
54 feMorphology: SVGAttributes<SVGFEMorphologyElement>;
55 feOffset: SVGAttributes<SVGFEOffsetElement>;
56 fePointLight: SVGAttributes<SVGFEPointLightElement>;
57 feSpecularLighting: SVGAttributes<SVGFESpecularLightingElement>;
58 feSpotLight: SVGAttributes<SVGFESpotLightElement>;
59 feTile: SVGAttributes<SVGFETileElement>;
60 feTurbulence: SVGAttributes<SVGFETurbulenceElement>;
61 filter: SVGAttributes<SVGFilterElement>;
62 foreignObject: SVGAttributes<SVGForeignObjectElement>;
63 g: SVGAttributes<SVGGElement>;
64 image: SVGAttributes<SVGImageElement>;
65 line: SVGAttributes<SVGLineElement>;
66 linearGradient: SVGAttributes<SVGLinearGradientElement>;
67 marker: SVGAttributes<SVGMarkerElement>;
68 mask: SVGAttributes<SVGMaskElement>;
69 metadata: SVGAttributes<SVGMetadataElement>;
70 mpath: SVGAttributes<SVGElement>;
71 path: SVGAttributes<SVGPathElement>;
72 pattern: SVGAttributes<SVGPatternElement>;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected