@loke/icons

A Loke icon library package for React applications.

create-custom-icons

core
221 linesSource

Build one-off icon components when no @loke/icons library icon fits. Covers createLokeIcon(name, iconNode) factory, Icon base component with iconNode prop, IconNode type ([SVGElementType, attrs][] with attrs as Record<string, string>), supported SVG elements (circle, ellipse, g, line, path, polygon, polyline, rect), LokeIcon and LokeProps exported types. Always check existing icons and aliases first. Activate only when creating a custom icon not available in the library.