@yopem-ui/react-icons
Version:
Yopem UI React Icons is just a wrapper around the [lucide icon](https://lucide.dev) library. We created this package to make it easier to use the lucide icons in a react project.
11 lines (8 loc) • 385 B
text/typescript
import * as React from 'react';
import * as LucideIcons from 'lucide-react';
export { LucideIcon as LucideIconType } from 'lucide-react';
interface IconProps extends React.SVGProps<SVGSVGElement> {
name: keyof typeof LucideIcons;
}
declare const Icon: React.ForwardRefExoticComponent<Omit<IconProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
export { Icon, type IconProps };