import { Screen, View, SVGImage, Text } from '../index'; /** @ts-ignore this is a real file */ import testLogo from './test-logo.svg'; export const SVGImageExamples = () => { return ( SVG Image Examples {/* Local SVG File Example */} Loading Local SVG File Using the test-logo.svg file - works on web, limited support on React Native {/* Original size */} {/* Smaller version */} {/* Using size prop */} {/* Intent Colors */} Intent Colors SVG images with theme-based coloring {/* Custom Colors */} Custom Colors Direct color specification {/* Remote URL Example */} Loading from URL SVG images loaded from remote URLs (web only for security) {/* Resize Modes */} Resize Modes Different ways to fit SVG images in containers {/* Usage Tips */} Usage Tips Local files: Use relative paths for bundled SVG files Remote URLs: Use {`{ uri: "https://..." }`} format React Native: Local SVGs have limited support - use remote URLs or convert to PNG Coloring: Works best with single-color SVG icons Performance: Cache remote SVGs for better performance ); };