mirror of
https://github.com/zoriya/react-native-svg.git
synced 2025-12-20 05:55:10 +00:00
24 lines
590 B
JavaScript
24 lines
590 B
JavaScript
import {Component, PropTypes} from 'react';
|
|
|
|
let propType = PropTypes.oneOfType([PropTypes.string, PropTypes.number]);
|
|
|
|
class Pattern extends Component{
|
|
static displayName = 'Pattern';
|
|
static propTypes = {
|
|
x1: propType,
|
|
x2: propType,
|
|
y1: propType,
|
|
y2: propType,
|
|
patternTransform: PropTypes.string,
|
|
patternUnits: PropTypes.oneOf(['userSpaceOnUse', 'objectBoundingBox']),
|
|
patternContentUnits: PropTypes.oneOf(['userSpaceOnUse', 'objectBoundingBox'])
|
|
};
|
|
|
|
|
|
render() {
|
|
return null;
|
|
}
|
|
}
|
|
|
|
export default Pattern;
|