import React from 'react';
import {
Defs,
G,
LinearGradient,
Path,
Stop,
Svg,
Text,
TSpan,
} from 'react-native-svg';
function TextExample() {
return (
);
}
TextExample.title = 'Text';
function TextRotate() {
return (
);
}
TextRotate.title = 'Transform the text';
function TextStroke() {
return (
);
}
TextStroke.title = 'Stroke the text';
function TextFill() {
return (
);
}
TextFill.title = 'Fill the text with LinearGradient';
const path = `
M 10 20
C 40 10 60 0 80 10
C 100 20 120 30 140 20
C 160 10 180 10 180 10
`;
function TextPathExample() {
return (
);
}
function TSpanExample() {
return (
);
}
TSpanExample.title = 'TSpan nest';
const icon = (
);
const samples = [
TextExample,
TextRotate,
TextStroke,
TextFill,
TextPathExample,
TSpanExample,
];
export {icon, samples};