@iconify/utils
Version:
Common functions for working with Iconify icon sets used by various packages.
20 lines (18 loc) • 340 B
text/typescript
/**
* IDs usage:
*
* id="{id}"
* xlink:href="#{id}"
* url(#{id})
*
* From SVG animations:
*
* begin="0;{id}.end"
* begin="{id}.end"
* begin="{id}.click"
*/
/**
* Replace IDs in SVG output with unique IDs
*/
declare function replaceIDs(body: string, prefix?: string | ((id: string) => string)): string;
export { replaceIDs };