Merged in fix/strokewidth-warning (pull request #3343)

fix: change to camelCase strokewidth warning

* fix: change to camelCase strokewidth warning


Approved-by: Anton Gunnarsson
Approved-by: Matilda Landström
This commit is contained in:
Bianca Widstam
2025-12-12 11:47:00 +00:00
parent 3e3b15940f
commit ee16d2ef6d
15 changed files with 82 additions and 78 deletions

View File

@@ -2,24 +2,28 @@ import type { VariantProps } from 'class-variance-authority'
import { iconVariants } from './variants'
export interface IconProps
extends Omit<React.SVGAttributes<HTMLOrSVGElement>, 'color'>,
extends
Omit<React.SVGAttributes<HTMLOrSVGElement>, 'color'>,
VariantProps<typeof iconVariants> {
size?: number
}
export interface IllustrationProps
extends Omit<React.SVGAttributes<HTMLOrSVGElement>, 'color'>,
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'> {
export interface LogoProps extends Omit<
React.SVGAttributes<HTMLOrSVGElement>,
'color'
> {
width?: string | number
height?: string | number
}
export interface NucleoIconProps extends IconProps {
strokewidth?: number
strokeWidth?: number | string
}