import React, {
Component
} from 'react-native';
import Svg, {
Text,
LinearGradient,
Stop,
Defs,
ClipPath,
Rect
} from 'react-native-svg';
class TextExample extends Component{
static title = 'Text';
render() {
return ;
}
}
class TextRotate extends Component{
static title = 'Transform the text';
render() {
return ;
}
}
class TextFill extends Component{
static title = 'Fill the text with LinearGradient';
render() {
return ;
}
}
// TODO: iOS not support text stroke with pattern
class TextStroke extends Component{
static title = 'Stroke the text';
render() {
return ;
}
}
class TextPath extends Component{
static title = 'Transform the text';
render() {
return ;
}
}
const icon = ;
const samples = [TextExample, TextRotate, TextStroke, TextFill, TextPath];
export {
icon,
samples
}