import { DesignSystem } from '@ni/fast-foundation';
import { template } from './template';
import { styles } from './styles';
import { Icon } from '../icon-base';
/**
 * Icon base class for the standard nimble icon set
 */
export class IconSvg extends Icon {
    constructor(/** @internal */ icon) {
        super();
        this.icon = icon;
    }
}
export const registerIconSvg = (baseName, iconClass) => {
    const composedIcon = iconClass.compose({
        baseName,
        template,
        styles
    });
    DesignSystem.getOrCreate().withPrefix('nimble').register(composedIcon());
};
//# sourceMappingURL=index.js.map