add hw2
This commit is contained in:
20
node_modules/@iconify/utils/lib/svg/defs.d.ts
generated
vendored
Normal file
20
node_modules/@iconify/utils/lib/svg/defs.d.ts
generated
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
/**
|
||||
* Extract definitions from SVG
|
||||
*
|
||||
* Can be used with other tags, but name kept for backwards compatibility.
|
||||
* Should be used only with tags that cannot be nested, such as masks, clip paths, etc.
|
||||
*/
|
||||
interface SplitSVGDefsResult {
|
||||
defs: string;
|
||||
content: string;
|
||||
}
|
||||
declare function splitSVGDefs(content: string, tag?: string): SplitSVGDefsResult;
|
||||
/**
|
||||
* Merge defs and content
|
||||
*/
|
||||
declare function mergeDefsAndContent(defs: string, content: string): string;
|
||||
/**
|
||||
* Wrap SVG content, without wrapping definitions
|
||||
*/
|
||||
declare function wrapSVGContent(body: string, start: string, end: string): string;
|
||||
export { mergeDefsAndContent, splitSVGDefs, wrapSVGContent };
|
||||
Reference in New Issue
Block a user