Closed
Description
- I have searched the Issues to see if this bug has already been reported
- I have tested the latest version
Steps to reproduce
Sample form https://flowbite-react.com/docs/components/alert#alert-with-icon
import { HiInformationCircle } from "react-icons/hi";
import { Alert } from "flowbite-react";
function Component() {
return (
<Alert color="failure" icon={HiInformationCircle}>
<span className="font-medium">Info alert!</span> Change a few things up and try submitting again.
</Alert>
);
}
This will produce a TS error: HiInformationCircle:IconType is not assignable to icon:FC<SVGProps<SVGSVGElement>>
Metadata
Metadata
Assignees
Labels
No labels