@phosphor-icons/react
Version:
A clean and friendly icon family for React
11 lines (10 loc) • 388 B
TypeScript
import { ComponentPropsWithRef } from "react";
export type IconWeight = "thin" | "light" | "regular" | "bold" | "fill" | "duotone";
export interface IconProps extends ComponentPropsWithRef<"svg"> {
alt?: string;
color?: string;
size?: string | number;
weight?: IconWeight;
mirrored?: boolean;
}
export type Icon = React.ForwardRefExoticComponent<IconProps>;