fix: change to camelCase strokewidth warning * fix: change to camelCase strokewidth warning Approved-by: Anton Gunnarsson Approved-by: Matilda Landström
30 lines
711 B
TypeScript
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
|
|
}
|