react-native-svg-web
Advanced tools
Comparing version 1.0.0 to 1.0.1
46
index.js
@@ -26,4 +26,4 @@ /** | ||
import React from 'react'; | ||
import PropTypes from 'prop-types'; | ||
const React = require('react'); | ||
const PropTypes = require('prop-types'); | ||
@@ -48,23 +48,23 @@ function createElement(name, type) { | ||
export const Circle = createElement('Circle', 'circle'); | ||
export const ClipPath = createElement('ClipPath', 'clipPath'); | ||
export const Defs = createElement('Defs', 'defs'); | ||
export const Ellipse = createElement('Ellipse', 'ellipse'); | ||
export const G = createElement('G', 'g'); | ||
export const Image = createElement('Image', 'image'); | ||
export const Line = createElement('Line', 'line'); | ||
export const LinearGradient = createElement('LinearGradient', 'linearGradient'); | ||
export const Path = createElement('Path', 'path'); | ||
export const Polygon = createElement('Polygon', 'polygon'); | ||
export const Polyline = createElement('Polyline', 'polyline'); | ||
export const RadialGradient = createElement('RadialGradient', 'radialGradient'); | ||
export const Rect = createElement('Rect', 'rect'); | ||
export const Stop = createElement('Stop', 'stop'); | ||
export const Svg = createElement('Svg', 'svg'); | ||
export const Symbol = createElement('Symbol', 'symbol'); | ||
export const Text = createElement('Text', 'text'); | ||
export const TextPath = createElement('TextPath', 'textPath'); | ||
export const TSpan = createElement('TSpan', 'tspan'); | ||
export const Use = createElement('Use', 'use'); | ||
const Svg = module.exports = createElement('Svg', 'svg'); | ||
export default Svg; | ||
Svg.Circle = createElement('Circle', 'circle'); | ||
Svg.ClipPath = createElement('ClipPath', 'clipPath'); | ||
Svg.Defs = createElement('Defs', 'defs'); | ||
Svg.Ellipse = createElement('Ellipse', 'ellipse'); | ||
Svg.G = createElement('G', 'g'); | ||
Svg.Image = createElement('Image', 'image'); | ||
Svg.Line = createElement('Line', 'line'); | ||
Svg.LinearGradient = createElement('LinearGradient', 'linearGradient'); | ||
Svg.Path = createElement('Path', 'path'); | ||
Svg.Polygon = createElement('Polygon', 'polygon'); | ||
Svg.Polyline = createElement('Polyline', 'polyline'); | ||
Svg.RadialGradient = createElement('RadialGradient', 'radialGradient'); | ||
Svg.Rect = createElement('Rect', 'rect'); | ||
Svg.Stop = createElement('Stop', 'stop'); | ||
Svg.Svg = createElement('Svg', 'svg'); | ||
Svg.Symbol = createElement('Symbol', 'symbol'); | ||
Svg.Text = createElement('Text', 'text'); | ||
Svg.TextPath = createElement('TextPath', 'textPath'); | ||
Svg.TSpan = createElement('TSpan', 'tspan'); | ||
Svg.Use = createElement('Use', 'use'); |
{ | ||
"name": "react-native-svg-web", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "A web replacement for react-native-svg", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4633
58