@spectrum-web-components/icons-workflow
Version:
[Spectrum Workflow Icons](https://spectrum.adobe.com/page/icons/) delivered in a flexible template tag so that they can be leveraged across various frameworks. The default export of this package pre-applies the `html` template tag from `lit-html` for ease
7 lines (6 loc) • 494 B
TypeScript
import { html, TemplateResult } from '@spectrum-web-components/base';
export { TemplateResult };
export declare type GenericTemplateLiteralTagType = (strings: TemplateStringsArray, ...values: unknown[]) => string;
declare type TemplateLiteralTagType = GenericTemplateLiteralTagType | typeof html;
export declare const tag: (strings: TemplateStringsArray, ...values: unknown[]) => string | TemplateResult;
export declare const setCustomTemplateLiteralTag: (tag: TemplateLiteralTagType) => void;