Scaffold out UI components
This commit is contained in:
38
src/lib/index.ts
Normal file
38
src/lib/index.ts
Normal 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>
|
||||
>;
|
||||
}
|
||||
Reference in New Issue
Block a user