import { FC } from 'web-cell'; import classNames from 'classnames'; import { TextColor } from '../type'; import { IconProps } from './Icon'; export interface FAIconProps extends Omit { group?: 'solid' | 'brands' | 'regular' | 'light' | 'duotone'; size?: 'xs' | 'sm' | 'lg' | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10; fixedWidth?: boolean; color?: TextColor; inverse?: boolean; border?: boolean; rotate?: 90 | 180 | 270; flip?: 'horizontal' | 'vertical' | 'both'; animation?: 'spin' | 'pulse'; pull?: 'left' | 'right'; stack?: 1 | 2; listItem?: boolean; } export const FAIcon: FC = ({ group = 'solid', name, size, fixedWidth, color, inverse, border, rotate, flip, animation, pull, stack, listItem, className, children, ...rest }) => { const icon = (