import { ReactNode } from 'react'; import type { LucideProps } from 'lucide-react-native'; export type LucidePropsWithClassName = LucideProps & { className?: string; }; /** * Helper function that wraps a LucideIcon with `withUniwind` to allow for styling with the `className` prop. * Uses auto mode for general style mapping (colors, etc.) and additionally extracts width/height * as props so that react-native-svg correctly sizes the SVG viewport. */ export default function iconWithClassName(icon: (props: LucideProps) => ReactNode): (props: LucidePropsWithClassName) => ReactNode;