import { FC } from "react"; import { View, ViewStyle } from "react-native"; interface BenchmarkIconProps { size?: number; color?: string; glowColor?: string; } /** * BenchmarkIcon - Icon for the BENCHMARK dev tool * Shows a stopwatch with performance bars, representing * performance measurement and benchmarking functionality. */ export const BenchmarkIcon: FC = ({ size = 24, color = "#F59E0B", glowColor, }) => { const scale = size / 24; const activeColor = color; const activeGlow = glowColor || color; // Center the stopwatch in the icon area const centerX = size / 2; const centerY = size / 2 + 1 * scale; // Slightly lower to account for button const clockRadius = 7 * scale; return ( {/* Stopwatch body - outer circle */} {/* Stopwatch inner glow */} {/* Stopwatch button (top) */} {/* Stopwatch crown/stem - connects button to clock */} {/* Stopwatch hand - pointing to ~10 o'clock position */} {/* Center dot */} ); };