UNPKG

ember-svg-jar

Version:

Best way to use SVG images in Ember applications

30 lines (23 loc) 618 B
import Helper from '@ember/component/helper'; type SvgJarAssetId = string; type SvgJarPositional = [SvgJarAssetId]; interface SvgJarAttrs { fill?: string | null; width?: string | null; height?: string | null; 'aria-hidden'?: 'true' | 'false' | null; class?: string | null; role?: string | null; title?: string | null; desc?: string | null; [key: string]: unknown } type SvgJarReturn = SVGElement; export interface SvgJarSignature { Args: { Positional: SvgJarPositional; Named: SvgJarAttrs; }; Return: SvgJarReturn; } export default class SvgJar extends Helper<SvgJarSignature> {}