@rxxuzi/gumi
Version:
Clean & minimal design system with delightful interactions
31 lines (30 loc) • 670 B
TypeScript
export declare const icons: {
check: string;
x: string;
info: string;
warning: string;
error: string;
success: string;
chevronDown: string;
chevronUp: string;
chevronLeft: string;
chevronRight: string;
moon: string;
sun: string;
loader: string;
menu: string;
search: string;
plus: string;
minus: string;
copy: string;
heart: string;
star: string;
};
/**
* Get icon by name
*/
export declare function getIcon(name: keyof typeof icons): string;
/**
* Create icon element
*/
export declare function createIcon(name: keyof typeof icons, className?: string, size?: number): HTMLSpanElement;