The simplest possible interface for defining a generic icon.

interface IIcon {
    name: string;
    svgstr: string;
}

Hierarchy (view full)

Properties

Properties

name: string

The name of the icon. By convention, the icon name will be namespaced as so:

"pkg-name:icon-name"
svgstr: string

A string containing the raw contents of an svg file.