Files
phosphor-icons/src/lib/index.ts
2020-07-21 23:07:52 -04:00

39 lines
792 B
TypeScript

import { IconProps } from "phosphor-react/dist/lib/Icon";
export enum IconStyle {
THIN = "thin",
LIGHT = "light",
REGULAR = "regular",
BOLD = "bold",
FILL = "fill",
DUOTONE = "duotone",
}
export enum IconCategory {
BRAND = "Brand",
BUSINESS = "Business",
COMMUNICATION = "Communication",
DESIGN = "Design",
DEVELOPMENT = "Development",
DEVICE = "Device",
DOCUMENT = "Document",
EDITOR = "Editor",
FINANCE = "Finance",
HEALTH = "Health & Medical",
MAP = "Map",
MEDIA = "Media",
SYSTEM = "System",
USERS = "Users",
WEATHER = "Weather",
OTHER = "Other",
}
export interface IconEntry {
name: string;
categories: IconCategory[];
tags: string[];
Icon: React.ForwardRefExoticComponent<
IconProps & React.RefAttributes<SVGSVGElement>
>;
}