✨(frontend) add external link support to LinkButton component
Enhanced LinkButton with target props for external link usage.
This commit is contained in:
committed by
aleb_the_flash
parent
3ee33fc2ec
commit
c26b1b711c
@@ -207,6 +207,7 @@ export const IntroSlider = () => {
|
||||
{slide.isAvailableInBeta && (
|
||||
<LinkButton
|
||||
href={BETA_USERS_FORM_URL}
|
||||
target="_blank"
|
||||
tooltip={t('beta.tooltip')}
|
||||
variant={'primary'}
|
||||
size={'sm'}
|
||||
|
||||
@@ -9,6 +9,7 @@ type LinkButtonProps = RecipeVariantProps<ButtonRecipe> &
|
||||
TooltipWrapperProps & {
|
||||
// Use tooltip as description below the button.
|
||||
description?: boolean
|
||||
target?: string
|
||||
}
|
||||
|
||||
export const LinkButton = ({
|
||||
|
||||
Reference in New Issue
Block a user