fix: Added fullWidth property on button components to set them as full width

Approved-by: Matilda Landström
This commit is contained in:
Erik Tiekstra
2025-12-16 14:37:10 +00:00
parent 1dce74c95f
commit d8c19c8917
10 changed files with 26 additions and 3 deletions

View File

@@ -9,7 +9,8 @@ import Link from 'next/link'
import { useIntl } from 'react-intl'
export interface ButtonLinkProps
extends Omit<ComponentProps<typeof Link>, 'color'>,
extends
Omit<ComponentProps<typeof Link>, 'color'>,
VariantProps<typeof variants> {}
export default function ButtonLink({
@@ -18,6 +19,7 @@ export default function ButtonLink({
size,
typography,
wrapping,
fullWidth,
className,
href,
target,
@@ -29,6 +31,7 @@ export default function ButtonLink({
size,
wrapping,
typography,
fullWidth,
className,
})