Module: ReactNative::Component::Elements
- Defined in:
- lib/react_native/component/elements.rb
Constant Summary collapse
- UNSUPPORTED_HTML_AND_SVG_ELEMENTS =
%w[ a abbr address area article aside audio base bdi bdo blockquote body br canvas caption cite col colgroup data datalist dd del details dfn dialog dl dt em embed fieldset figcaption figure footer form head header hr html iframe ins kbd label legend li link main map mark meta meter nav noscript object ol optgroup option output param picture progress q rp rt rtc ruby s samp script section select small source span strong style sub summary sup table tbody td template textarea tfoot th thead time title tr track ul var video wbr altGlyph altGlyphDef altGlyphItem animate animateColor animateMotion animateTransform color-profile cursor desc feBlend feColorMatrix feComponentTransfer feComposite feConvolveMatrix feDiffuseLighting feDisplacementMap feDistantLight feFlood feFuncA feFuncB feFuncG feFuncR feGaussianBlur feImage feMerge feMergeNode feMorphology feOffset fePointLight feSpecularLighting feSpotLight feTile feTurbulence filter font font-face font-face-format font-face-name font-face-src font-face-uri glyph glyphRef hkern metadata missing-glyph mpath script set style switch tref view vkern ]
- SUPPORTED_TEXT_HTML_ELEMENTS =
elements that map to Text with style
%w[ b code h1 h2 h3 h4 h5 h6 i pre span u ]
- SUPPORTED_VIEW_HTML_ELEMENTS =
%w[ div p ]
- SUPPORTED_SVG_ELEMENTS =
%w[ Circle ClipPath Defs Ellipse ForeignObject G Image Line LinearGradient Marker Mask Path Pattern Polygon Polyline RadialGradient Rect Stop Svg Symbol Text TextPath TSpan Use ]