import React from "react"; import Svg, { Circle, Path } from "react-native-svg"; /** * Leeworks Icon — the Lucide subset used by the Handler screens, ported from * components/display/Icon.jsx. Monochrome, 1.75px stroke, `currentColor` * becomes the required `color` prop since RN SVG doesn't inherit it. */ export type IconName = | "chevronRight" | "chevronDown" | "home" | "file" | "settings" | "x"; const paths: Record = { chevronRight: , chevronDown: , home: ( <> ), file: ( <> ), settings: ( <> ), x: , }; interface IconProps { name: IconName; size?: number; color: string; strokeWidth?: number; /** Degrees; the detail/answer back arrows reuse chevronRight rotated 180. */ rotate?: number; } export function Icon({ name, size = 18, color, strokeWidth = 1.75, rotate, }: IconProps) { return ( {paths[name]} ); }