- Icon<AsTarget, ForwardedAsTarget>(props): Element
Type Parameters
- AsTarget extends void | WebTarget = void
- ForwardedAsTarget extends void | WebTarget = void
Parameters
- props: PolymorphicComponentProps<"web", FastOmit<Substitute<Substitute<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Omit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {}>, {
$iconSize?: number;
}>, never>, AsTarget, ForwardedAsTarget, AsTarget extends KnownTarget
? ComponentPropsWithRef<AsTarget<AsTarget>>
: {}, ForwardedAsTarget extends KnownTarget
? ComponentPropsWithRef<ForwardedAsTarget<ForwardedAsTarget>>
: {}>
Returns Element
- Icon(props): ReactNode
Parameters
- props: FastOmit<Substitute<Substitute<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Omit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {}>, {
$iconSize?: number;
}>, never>
Returns ReactNode