Files
react-native-svg/elements/Ellipse.js

29 lines
584 B
JavaScript

import React, {
Component,
PropTypes
} from 'react-native';
import Shape, {ELLIPSE} from './Shape';
import {ellipseProps, pathProps, fillProps, strokeProps} from '../lib/props';
class Ellipse extends Shape{
static displayName = 'Ellipse';
static propTypes = {
...pathProps,
...ellipseProps
};
static contextTypes = {
...fillProps,
...strokeProps,
...ellipseProps,
isInGroup: PropTypes.bool
};
constructor() {
super(...arguments);
this.type = ELLIPSE;
};
}
export default Ellipse;