You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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>>
The text was updated successfully, but these errors were encountered:
Steps to reproduce
Sample form https://flowbite-react.com/docs/components/alert#alert-with-icon
This will produce a TS error:
HiInformationCircle:IconType is not assignable to icon:FC<SVGProps<SVGSVGElement>>
The text was updated successfully, but these errors were encountered: