react-fa-picker
Version:
A reusable React Icon Picker component, bundled with its own Tailwind CSS build.
23 lines • 661 B
TypeScript
import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
import { IconCategory, IconType } from './types';
/**
* Gets the icon class name
*/
export declare const getIconClassName: (iconDef: IconDefinition) => string;
/**
* Gets the icon unicode
*/
export declare const getIconUnicode: (icon: IconDefinition) => string;
/**
* Get all icons as flat list
*/
export declare function getAllIcons(): IconType[];
/**
* Get icon categories
*/
export declare function getIconCategories(): IconCategory[];
/**
* Generate random icon name
*/
export declare const generateRandomIconName: (prefix?: string) => string;
//# sourceMappingURL=utils.d.ts.map