/** * Web implementation of the SVG shim. * * Thin functional wrappers around the DOM's native SVG elements so the * import sites (`daily-progress.tsx`, future SVG-using blocks) don't have * to fork a .web.tsx for rendering. The JSX prop surface is a strict subset * of what react-native-svg accepts, covering what we actually use today. * * Extend the prop types here as we start using more svg attributes. */ import type { CSSProperties, ComponentPropsWithoutRef, PropsWithChildren, ReactNode } from 'react'; type SvgCommon = { width?: number | string; height?: number | string; viewBox?: string; style?: CSSProperties; children?: ReactNode; }; declare function Svg({ children, ...rest }: SvgCommon): import("react/jsx-runtime").JSX.Element; type PressHandlers = { onPress?: () => void; onPressIn?: () => void; onPressOut?: () => void; }; type PathProps = PropsWithChildren, 'ref'> & PressHandlers>; declare function Path({ onPress, onPressIn, onPressOut, ...rest }: PathProps): import("react/jsx-runtime").JSX.Element; type RectProps = PropsWithChildren, 'ref'>>; declare function Rect(props: RectProps): import("react/jsx-runtime").JSX.Element; type TextProps = PropsWithChildren, 'ref'>>; declare function SvgText(props: TextProps): import("react/jsx-runtime").JSX.Element; type DefsProps = PropsWithChildren, 'ref'>>; declare function Defs(props: DefsProps): import("react/jsx-runtime").JSX.Element; type RadialGradientProps = PropsWithChildren, 'ref'>>; declare function RadialGradient(props: RadialGradientProps): import("react/jsx-runtime").JSX.Element; type StopProps = { offset?: number | string; stopColor?: string; stopOpacity?: number | string; }; declare function Stop({ stopColor, stopOpacity, ...rest }: StopProps): import("react/jsx-runtime").JSX.Element; export { Defs, Path, RadialGradient, Rect, Stop, Svg, SvgText }; //# sourceMappingURL=svg-shim.web.d.ts.map