import {
StyleSheet,
View
} from 'react-native';
import React, {
Component
} from 'react';
const styles = StyleSheet.create({
container: {
flex: 1,
height: 100,
width: 200
},
svg: {
flex: 1,
alignSelf: 'stretch'
}
});
import Svg, {
Circle,
Rect,
Path,
Line
} from 'react-native-svg';
class SvgExample extends Component{
static title = 'SVG';
render() {
return ;
}
}
class SvgOpacity extends Component{
static title = 'SVG with `opacity` prop';
render() {
return ;
}
}
class SvgViewbox extends Component{
static title = 'SVG with `viewbox="40 20 100 40"`';
render() {
return ;
}
}
class SvgLayout extends Component{
static title = 'SVG with flex layout';
render() {
return
;
}
}
const icon = ;
const samples = [SvgExample, SvgOpacity, SvgViewbox, SvgLayout];
export {
icon,
samples
};