react-fa-picker
Version:
A reusable React Icon Picker component, bundled with its own Tailwind CSS build.
18 lines • 641 B
TypeScript
import { IconType } from './types';
interface IconPickerProps {
defaultSize?: number;
defaultColor?: string;
defaultValue?: string;
onChange?: (icon: IconType & {
color: string;
}) => void;
className?: string;
hideSizeAndColor?: boolean;
}
/**
* IconPicker is the main wrapper for the icon picker UI.
* It wraps content in a context provider and renders UI components.
*/
export declare function IconPicker({ defaultSize, defaultColor, defaultValue, onChange, className, hideSizeAndColor, }: IconPickerProps): import("react/jsx-runtime").JSX.Element;
export {};
//# sourceMappingURL=IconPicker.d.ts.map