diff --git a/dapp/src/components/shared/ButtonLink/index.tsx b/dapp/src/components/shared/ButtonLink/index.tsx index 89f8d5750..dcd65de61 100644 --- a/dapp/src/components/shared/ButtonLink/index.tsx +++ b/dapp/src/components/shared/ButtonLink/index.tsx @@ -1,11 +1,12 @@ import React from "react" -import { Button, ButtonProps, Icon } from "@chakra-ui/react" +import { Button, ButtonProps, Icon, Link, LinkProps } from "@chakra-ui/react" import { ArrowUpRight } from "#/assets/icons" -type ButtonLinkProps = ButtonProps & { - icon?: typeof Icon - iconColor?: string -} +type ButtonLinkProps = ButtonProps & + LinkProps & { + icon?: typeof Icon + iconColor?: string + } export default function ButtonLink({ children, @@ -16,6 +17,7 @@ export default function ButtonLink({ }: ButtonLinkProps) { return (