@momentum-ui/react-collaboration
Version:
Cisco Momentum UI Framework for React Collaboration Applications
11 lines (10 loc) • 480 B
TypeScript
import type { IconWeight, InferredIconName } from './Icon.types';
/**
* Creates the resolved name for SVG icons lookup.
* Used as part of the URL when dynamically loading icons.
* @param name - name of the icon
* @param weight - weight of the icon
* @param weightless - marks that this icon doesn't have a weight
* @returns - resolved name of the icon
*/
export declare const getResolvedSVGName: (name: InferredIconName, weight: IconWeight, weightless: boolean) => string;