mirror of
https://github.com/zoriya/react-native-svg.git
synced 2025-12-20 22:05:14 +00:00
27 lines
612 B
JavaScript
27 lines
612 B
JavaScript
import React, {
|
|
Component,
|
|
PropTypes
|
|
} from 'react-native';
|
|
|
|
let propType = PropTypes.oneOfType([PropTypes.string, PropTypes.number]);
|
|
|
|
class Image 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;
|