feat/SW-1064 restaurant and bar subpage * feat(SW-1064): add appendToPath to buttonlink * feat(SW-1064): add sidebar template * feat(SW-1064): render pages from nameInUrl * feat(SW-1064): add content to restaurant sidebar * feat(SW-1064): change icon size * feat(SW-1064): move opening hours component * feat(SW-1064): update switch statement * feat(SW-1064): fix typo * feat(SW-1064): rebase * feat(SW-1064): remove accidentally added file * feat(SW-1064): undefined check for restaurant subpage Approved-by: Erik Tiekstra
11 lines
380 B
TypeScript
11 lines
380 B
TypeScript
import type { ButtonPropsSlot } from "@/components/TempDesignSystem/Button/button"
|
|
|
|
export type ButtonLinkProps = React.PropsWithChildren &
|
|
Omit<ButtonPropsSlot, "asChild"> &
|
|
Pick<React.AnchorHTMLAttributes<HTMLAnchorElement>, "onClick" | "target"> & {
|
|
href: string
|
|
trackingId?: string
|
|
trackingParams?: Record<string, string>
|
|
appendToCurrentPath?: boolean
|
|
}
|