Files
react-native-svg/apps/common/example/e2e/icon.tsx
Jakub Grzywacz b3b175a7fb feat: move examples to ./apps (#2507)
# Summary

Due to the large number of example apps in the repository, I decided to
change the structure and move all applications into an "apps" folder to
maintain a clear structure.
2024-10-25 16:12:23 +02:00

22 lines
848 B
TypeScript

import React from 'react';
import Svg, {Path, Rect} from 'react-native-svg';
export const icon = (
<Svg width="30" height="30" viewBox="235 185 100 100">
<Path
fill="none"
stroke="#000000"
strokeWidth="4"
d="m240 190 h 30 v 30 h 30 v 30 h 30 v 30 h -90 v -90 z"
/>
<Rect x="235" y="185" width="10" height="10" fill="#0000FF" />
<Rect x="265" y="185" width="10" height="10" fill="#0000FF" />
<Rect x="265" y="215" width="10" height="10" fill="#0000FF" />
<Rect x="295" y="215" width="10" height="10" fill="#0000FF" />
<Rect x="295" y="245" width="10" height="10" fill="#0000FF" />
<Rect x="325" y="245" width="10" height="10" fill="#0000FF" />
<Rect x="325" y="275" width="10" height="10" fill="#0000FF" />
<Rect x="235" y="275" width="10" height="10" fill="#0000FF" />
</Svg>
);