Scaffold out UI components

This commit is contained in:
rektdeckard
2020-07-21 23:07:36 -04:00
parent 016e6d987b
commit 19d9b8c7d2
24 changed files with 1063 additions and 528 deletions

38
src/lib/index.ts Normal file
View File

@@ -0,0 +1,38 @@
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>
>;
}