@stihl-design-system/components
Version:
Welcome to the STIHL Design System react component library.
10 lines (9 loc) • 444 B
TypeScript
import { IconName } from '../../types';
export type IconAriaAttribute = 'aria-label';
export declare const ICON_SIZE: readonly ["x-large", "large", "medium", "small", "x-small"];
export type IconSize = (typeof ICON_SIZE)[number];
export declare const useDynamicSvgImport: (iconName: IconName) => {
isLoading: boolean;
SVGIcon: string | undefined;
setShouldLoad: import('react').Dispatch<import('react').SetStateAction<boolean>>;
};