EvaIcon Component

    EvaIcon

    To use EvaIcon component you need to install his package first from install eva icons

    Usage

    import { EvaIcon } from '@paljs/ui/Icon';

    Status

      Icon status

      Animation

        Animation
        zoom
        pulse
        shake
        flip

        Props

        interface IconProps {
          name: keyof Icons;
          status?: Status;
          className?: string;
          options?: EvaIconOptions;
        }
        
        interface EvaIconOptions {
          width?: string;
          height?: string;
          fill?: string;
          class?: string;
          animation?: {
            type?: 'zoom' | 'pulse' | 'shake' | 'flip';
            hover?: boolean;
            infinite?: boolean;
          };
        }