Files
web/packages/design-system/lib/components/Icons/icon.ts
Rasmus Langvad d0546926a9 Merged in fix/3697-prettier-configs (pull request #3396)
fix(SW-3691): Setup one prettier config for whole repo

* Setup prettierrc in root and remove other configs


Approved-by: Joakim Jäderberg
Approved-by: Linus Flood
2026-01-07 12:45:50 +00:00

30 lines
711 B
TypeScript

import type { VariantProps } from "class-variance-authority"
import { iconVariants } from "./variants"
export interface IconProps
extends
Omit<React.SVGAttributes<HTMLOrSVGElement>, "color">,
VariantProps<typeof iconVariants> {
size?: number
}
export interface IllustrationProps
extends
Omit<React.SVGAttributes<HTMLOrSVGElement>, "color">,
Omit<VariantProps<typeof iconVariants>, "color"> {
width?: string | number
height?: string | number
}
export interface LogoProps extends Omit<
React.SVGAttributes<HTMLOrSVGElement>,
"color"
> {
width?: string | number
height?: string | number
}
export interface NucleoIconProps extends IconProps {
strokeWidth?: number | string
}