6 lines
290 B
TypeScript
6 lines
290 B
TypeScript
import { Awaitable, CustomIconLoader } from "./types.js";
|
|
/**
|
|
* @returns A {@link CustomIconLoader} for loading icons from a directory
|
|
*/
|
|
declare function FileSystemIconLoader(dir: string, transform?: (svg: string) => Awaitable<string>): CustomIconLoader;
|
|
export { FileSystemIconLoader }; |