Merged in fix/lint-issues (pull request #1678)

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
This commit is contained in:
Anton Gunnarsson
2025-03-31 12:27:32 +00:00
parent 9d584887ad
commit 93aafe5525
37 changed files with 85 additions and 155 deletions

View File

@@ -1,11 +1,11 @@
import type { LogoAndIllustrationProps } from '../icon'
import type { LogoProps } from '../icon'
import { iconVariants } from '../variants'
export default function DowntownCamperIcon({
className,
color,
...props
}: LogoAndIllustrationProps) {
}: LogoProps) {
const classNames = iconVariants({ className, color })
return (
<svg

View File

@@ -1,12 +1,12 @@
import { iconVariants } from '../variants'
import type { LogoAndIllustrationProps } from '../icon'
import type { LogoProps } from '../icon'
export default function GrandHotelOsloLogoIcon({
className,
color,
...props
}: LogoAndIllustrationProps) {
}: LogoProps) {
const classNames = iconVariants({ className, color })
return (
<svg

View File

@@ -1,12 +1,12 @@
import { iconVariants } from '../variants'
import type { LogoAndIllustrationProps } from '../icon'
import type { LogoProps } from '../icon'
export default function HaymarketIcon({
className,
color,
...props
}: LogoAndIllustrationProps) {
}: LogoProps) {
const classNames = iconVariants({ className, color })
return (
<svg

View File

@@ -1,12 +1,12 @@
import { iconVariants } from '../variants'
import type { LogoAndIllustrationProps } from '../icon'
import type { LogoProps } from '../icon'
export default function HotelNorgeIcon({
className,
color,
...props
}: LogoAndIllustrationProps) {
}: LogoProps) {
const classNames = iconVariants({ className, color })
return (
<svg

View File

@@ -1,12 +1,12 @@
import { iconVariants } from '../variants'
import type { LogoAndIllustrationProps } from '../icon'
import type { LogoProps } from '../icon'
export default function MarskiLogoIcon({
className,
color,
...props
}: LogoAndIllustrationProps) {
}: LogoProps) {
const classNames = iconVariants({ className, color })
return (
<svg

View File

@@ -1,12 +1,12 @@
import { iconVariants } from '../variants'
import type { LogoAndIllustrationProps } from '../icon'
import type { LogoProps } from '../icon'
export default function ScandicGoLogoIcon({
className,
color,
...props
}: LogoAndIllustrationProps) {
}: LogoProps) {
const classNames = iconVariants({ className, color })
return (
<svg

View File

@@ -1,12 +1,12 @@
import { iconVariants } from '../variants'
import type { LogoAndIllustrationProps } from '../icon'
import type { LogoProps } from '../icon'
export default function ScandicLogoIcon({
className,
color,
...props
}: LogoAndIllustrationProps) {
}: LogoProps) {
const classNames = iconVariants({ className, color })
return (
<svg