@atom-iq/babel-plugin-jsx
Version:
Turn JSX into Atom-iQ Reactive Virtual DOM - fork of babel-plugin-inferno
96 lines (93 loc) • 2.34 kB
JavaScript
const flags = require('./flags')
const RvdNodeFlags = flags.RvdNodeFlags
const SVGElement = RvdNodeFlags.SvgElement
module.exports = {
input: RvdNodeFlags.Input,
textarea: RvdNodeFlags.Textarea,
select: RvdNodeFlags.Select,
//SVG elements
altGlyph: SVGElement,
altGlyphDef: SVGElement,
altGlyphItem: SVGElement,
animate: SVGElement,
animateColor: SVGElement,
animateMotion: SVGElement,
animateTransform: SVGElement,
circle: SVGElement,
clipPath: SVGElement,
'color-profile': SVGElement,
cursor: SVGElement,
defs: SVGElement,
desc: SVGElement,
discard: SVGElement,
ellipse: SVGElement,
feBlend: SVGElement,
feColorMatrix: SVGElement,
feComponentTransfer: SVGElement,
feComposite: SVGElement,
feConvolveMatrix: SVGElement,
feDiffuseLighting: SVGElement,
feDisplacementMap: SVGElement,
feDistantLight: SVGElement,
feDropShadow: SVGElement,
feFlood: SVGElement,
feFuncA: SVGElement,
feFuncB: SVGElement,
feFuncG: SVGElement,
feFuncR: SVGElement,
feGaussianBlur: SVGElement,
feImage: SVGElement,
feMerge: SVGElement,
feMergeNode: SVGElement,
feMorphology: SVGElement,
feOffset: SVGElement,
fePointLight: SVGElement,
feSpecularLighting: SVGElement,
feSpotLight: SVGElement,
feTile: SVGElement,
feTurbulence: SVGElement,
filter: SVGElement,
'font-face': SVGElement,
'font-face-format': SVGElement,
'font-face-name': SVGElement,
'font-face-src': SVGElement,
'font-face-uri': SVGElement,
foreignObject: SVGElement,
g: SVGElement,
glyph: SVGElement,
glyphRef: SVGElement,
hatch: SVGElement,
hatchpath: SVGElement,
hkern: SVGElement,
line: SVGElement,
linearGradient: SVGElement,
marker: SVGElement,
mask: SVGElement,
mesh: SVGElement,
meshgradient: SVGElement,
meshpatch: SVGElement,
meshrow: SVGElement,
metadata: SVGElement,
'missing-glyph': SVGElement,
mpath: SVGElement,
path: SVGElement,
pattern: SVGElement,
polygon: SVGElement,
polyline: SVGElement,
radialGradient: SVGElement,
rect: SVGElement,
set: SVGElement,
solidcolor: SVGElement,
stop: SVGElement,
svg: SVGElement,
switch: SVGElement,
symbol: SVGElement,
text: SVGElement,
textPath: SVGElement,
tref: SVGElement,
tspan: SVGElement,
unknown: SVGElement,
use: SVGElement,
view: SVGElement,
vkern: SVGElement
}