fix: Added fullWidth property on button components to set them as full width
Approved-by: Matilda Landström
This commit is contained in:
@@ -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,
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user