Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: give E2E own icon #2497

Merged
merged 1 commit into from
Oct 21, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 17 additions & 3 deletions apps/examples/src/e2e/icon.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,21 @@
import Svg, {Circle} from 'react-native-svg';
import React from 'react';
import Svg, {Path, Rect} from 'react-native-svg';

export const icon = (
<Svg height="30" width="30" viewBox="0 0 20 20">
<Circle cx="10" cy="10" r="8" stroke="purple" strokeWidth="1" fill="pink" />
<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>
);
Loading