mirror of
https://github.com/zoriya/react-native-svg.git
synced 2025-12-05 22:56:11 +00:00
# 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.
22 lines
848 B
TypeScript
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>
|
|
);
|