Files
react-native-svg/elements/Shape.js
2018-03-19 04:02:14 +02:00

17 lines
440 B
JavaScript

import { Component } from "react";
import SvgTouchableMixin from "../lib/SvgTouchableMixin";
import _ from "lodash";
class Shape extends Component {
constructor() {
super(...arguments);
_.forEach(SvgTouchableMixin, (method, key) => {
this[key] = method.bind(this);
});
//noinspection JSUnusedGlobalSymbols
this.state = this.touchableGetInitialState();
}
}
export default Shape;