Refactor reuse elements

Refactor reuse elements
This commit is contained in:
Horcrux
2016-01-25 11:39:31 +08:00
parent 5f3c2e8e39
commit e001285cbe
16 changed files with 171 additions and 101 deletions

View File

@@ -23,9 +23,7 @@ import {
Line
} from 'react-native-art-svg';
import * as examples from './examples';
import _ from 'lodash';
import Modal from 'react-native-root-modal';
const hairline = 1 / PixelRatio.get();
const styles = StyleSheet.create({
@@ -106,7 +104,6 @@ const styles = StyleSheet.create({
}
});
const names = ['Svg', 'Stroking', 'Path', 'Line', 'Rect', 'Polygon', 'Polyline', 'Circle', 'Ellipse', 'G', 'Text', 'Use'];
class ArtSvgExample extends Component {