UNPKG

rc-fa-icon-picker

Version:

A customizable React component for picking Font Awesome icons with search and color selection.

14 lines (13 loc) 512 B
import { IconData } from '../types'; export interface UseIconPickerReturn { selectedIcon: IconData | null; setSelectedIcon: (icon: IconData | null) => void; handleIconSelect: (icon: IconData) => void; clearSelection: () => void; getSelectedIcon: () => IconData | null; hasIcon: boolean; getIconName: () => string | null; getIconType: () => string | null; getIconColor: () => string | null; } export declare function useIconPicker(defaultIcon?: IconData): UseIconPickerReturn;