UNPKG

646 BTypeScriptView Raw
1import { Icon } from './icon';
2export declare const getIconMap: () => Map<string, string>;
3export declare const addIcons: (icons: {
4 [name: string]: string;
5}) => void;
6export declare const getUrl: (i: Icon) => string | null;
7export declare const getName: (iconName: string | undefined, icon: string | undefined, mode: string | undefined, ios: string | undefined, md: string | undefined) => string | null;
8export declare const getSrc: (src: string | undefined) => string | null;
9export declare const isSrc: (str: string) => boolean;
10export declare const isStr: (val: any) => val is string;
11export declare const toLower: (val: string) => string;