import { forwardRef } from 'react'; import { twMerge } from 'tailwind-merge'; import { ArrowUpRight } from '../icons/ArrowUpRight'; import { AnchorButton } from './Button'; import type { ComponentPropsWithoutRef } from 'react'; type GoToExplorerProps = ComponentPropsWithoutRef<'div'> & { title?: string; description?: string; url?: string; buttonClassName?: string; }; export const GoToExplorer = forwardRef(function GoToExplorer( { className, title = 'Explore your transaction data', description = 'View on-chain data and transactions from your tagged apps on 0x explorer.', url = 'https://explorer.0x.org/', buttonClassName, ...other }, forwardedRef, ) { return (
{title}
{description}
} > Go to 0x explorer
); });