@types/svg-sprite-loader
Version:
TypeScript definitions for svg-sprite-loader
17 lines (13 loc) • 467 B
TypeScript
import { Plugin } from "webpack";
export = SVGSpriteLoaderPlugin;
declare class SVGSpriteLoaderPlugin extends Plugin {
constructor(options?: SVGSpriteLoaderPlugin.Options);
}
declare namespace SVGSpriteLoaderPlugin {
interface Options {
/** Render plain sprite without styles and usages */
plainSprite?: boolean | undefined;
/** Custom tag attributes for the svg */
spriteAttrs?: { [key: string]: any } | undefined;
}
}