rc-fa-icon-picker
Version:
A customizable React component for picking Font Awesome icons with search and color selection.
26 lines (25 loc) • 933 B
TypeScript
import React from 'react';
export interface IconRendererProps {
iconName: string;
iconType?: string;
color?: string;
size?: 'xs' | 'sm' | 'lg' | 'xl' | '2x' | '3x' | '4x' | '5x' | '6x' | '7x' | '8x' | '9x' | '10x';
className?: string;
style?: React.CSSProperties;
onClick?: () => void;
spin?: boolean;
pulse?: boolean;
border?: boolean;
fixedWidth?: boolean;
inverse?: boolean;
flip?: 'horizontal' | 'vertical' | 'both';
rotation?: 90 | 180 | 270;
pull?: 'left' | 'right';
beat?: boolean;
fade?: boolean;
beatFade?: boolean;
bounce?: boolean;
shake?: boolean;
title?: string;
}
export declare function IconRenderer({ iconName, iconType, color, size, className, style, onClick, spin, pulse, border, fixedWidth, inverse, flip, rotation, pull, beat, fade, beatFade, bounce, shake, title, }: IconRendererProps): import("react/jsx-runtime").JSX.Element;