Icon.d.ts 601 B

123456789101112131415161718192021
  1. import { Component, FunctionalComponent, HTMLAttributes } from 'vue';
  2. export interface IconBaseProps extends HTMLAttributes {
  3. spin?: boolean;
  4. rotate?: number;
  5. }
  6. export interface CustomIconComponentProps {
  7. width: string | number;
  8. height: string | number;
  9. fill: string;
  10. viewBox?: string;
  11. }
  12. export interface IconComponentProps extends IconBaseProps {
  13. viewBox?: string;
  14. component?: Component;
  15. ariaLabel?: string;
  16. }
  17. export interface IconType extends FunctionalComponent<IconComponentProps> {
  18. displayName: string;
  19. }
  20. declare const Icon: IconType;
  21. export default Icon;