Fix lint issues in design-system and scandic-web * Remove unused color prop from LogoAndIllustrationProps to fix lint issues * Fix lint issues in web * Fix logos type Approved-by: Joakim Jäderberg
27 lines
729 B
TypeScript
27 lines
729 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'>,
|
|
VariantProps<typeof iconVariants> {
|
|
width?: string | number
|
|
height?: string | number
|
|
}
|
|
|
|
export interface NucleoIconProps extends IconProps {
|
|
strokewidth?: number
|
|
}
|