mirror of
https://github.com/zoriya/react-native-svg.git
synced 2025-12-20 14:05:09 +00:00
24 lines
609 B
JavaScript
24 lines
609 B
JavaScript
import { Component } from "react";
|
|
import PropTypes from "prop-types";
|
|
import { numberProp } from "../lib/props";
|
|
|
|
export default class extends Component {
|
|
static displayName = "Pattern";
|
|
static propTypes = {
|
|
x1: numberProp,
|
|
x2: numberProp,
|
|
y1: numberProp,
|
|
y2: numberProp,
|
|
patternTransform: PropTypes.string,
|
|
patternUnits: PropTypes.oneOf(["userSpaceOnUse", "objectBoundingBox"]),
|
|
patternContentUnits: PropTypes.oneOf([
|
|
"userSpaceOnUse",
|
|
"objectBoundingBox"
|
|
])
|
|
};
|
|
|
|
render() {
|
|
return null;
|
|
}
|
|
}
|