import { SVGProps } from 'react';

export type IconName = 'calendar' | 'map' | 'money' | 'people' | 'logo' | 'restart' | 'anchor' | 'width';

export interface IconProps extends Omit<SVGProps<SVGSVGElement>, 'name' | 'preserveAspectRatio'> {
  name: IconName;
  className?: string;
  size?: number | string;
  color?: string;
  preserveAspectRatio?: boolean;
  maxSize?: number | string;
}
