Merged in chore/remove-unused-exports (pull request #3485)
chore: Fix exports * Fix exports Approved-by: Joakim Jäderberg
This commit is contained in:
@@ -8,7 +8,7 @@ import styles from "./infoCardWithImage.module.css"
|
|||||||
|
|
||||||
import type { ImageVaultAsset } from "@scandic-hotels/common/utils/imageVault"
|
import type { ImageVaultAsset } from "@scandic-hotels/common/utils/imageVault"
|
||||||
|
|
||||||
export interface InfoCardWithImageProps extends InfoCardProps {
|
interface InfoCardWithImageProps extends InfoCardProps {
|
||||||
image?: ImageVaultAsset
|
image?: ImageVaultAsset
|
||||||
imagePosition?: "left" | "right" | "top"
|
imagePosition?: "left" | "right" | "top"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -14,6 +14,8 @@ import TopLink from "../TopLink"
|
|||||||
|
|
||||||
import styles from "./topMenu.module.css"
|
import styles from "./topMenu.module.css"
|
||||||
|
|
||||||
|
import { LanguageSwitcherTypesEnum } from "@/types/components/languageSwitcher/languageSwitcher"
|
||||||
|
|
||||||
export default async function TopMenu() {
|
export default async function TopMenu() {
|
||||||
// cached
|
// cached
|
||||||
const intl = await getIntl()
|
const intl = await getIntl()
|
||||||
@@ -33,7 +35,7 @@ export default async function TopMenu() {
|
|||||||
<div className={styles.content}>
|
<div className={styles.content}>
|
||||||
<TopLink isLoggedIn={isLoggedIn} topLink={header.data.topLink} />
|
<TopLink isLoggedIn={isLoggedIn} topLink={header.data.topLink} />
|
||||||
<div className={styles.options}>
|
<div className={styles.options}>
|
||||||
<LanguageSwitcher type="desktopHeader" />
|
<LanguageSwitcher type={LanguageSwitcherTypesEnum.DesktopHeader} />
|
||||||
|
|
||||||
<HeaderLink href={findMyBookingUrl} iconName={IconName.Search}>
|
<HeaderLink href={findMyBookingUrl} iconName={IconName.Search}>
|
||||||
{intl.formatMessage({
|
{intl.formatMessage({
|
||||||
|
|||||||
@@ -1,10 +1,8 @@
|
|||||||
import type { VariantProps } from "class-variance-authority"
|
import type { VariantProps } from "class-variance-authority"
|
||||||
import type { PropsWithChildren } from "react"
|
|
||||||
import type { BreadcrumbProps as BreadcrumbRACProps } from "react-aria-components"
|
|
||||||
|
|
||||||
import type { variants } from "./variants"
|
import type { variants } from "./variants"
|
||||||
|
|
||||||
export type { Breadcrumb, BreadcrumbProps, BreadcrumbsProps }
|
export type { Breadcrumb, BreadcrumbsProps }
|
||||||
|
|
||||||
interface Breadcrumb {
|
interface Breadcrumb {
|
||||||
title: string
|
title: string
|
||||||
@@ -15,8 +13,3 @@ interface Breadcrumb {
|
|||||||
interface BreadcrumbsProps extends VariantProps<typeof variants> {
|
interface BreadcrumbsProps extends VariantProps<typeof variants> {
|
||||||
breadcrumbs: Breadcrumb[]
|
breadcrumbs: Breadcrumb[]
|
||||||
}
|
}
|
||||||
|
|
||||||
interface BreadcrumbProps extends PropsWithChildren<BreadcrumbRACProps> {
|
|
||||||
className?: string
|
|
||||||
href?: string
|
|
||||||
}
|
|
||||||
|
|||||||
Reference in New Issue
Block a user