UNPKG

@payfit/unity-components

Version:

23 lines (22 loc) 686 B
import { LinkComponent } from '@tanstack/react-router'; import { RawLinkButton } from '../../../../components/link-button/RawLinkButton.js'; /** * Unity's link button that integrates with Tanstack Router for seamless client-side navigation. * Renders as an anchor tag but visually looks like a primary button. * @example * ```tsx * import { LinkButton } from '@payfit/unity-components/integrations/tanstack-router' * * function Navigation() { * return ( * <LinkButton to="/dashboard"> * Go to Dashboard * </LinkButton> * ) * } * ``` */ declare const LinkButton: LinkComponent<typeof RawLinkButton> & { displayName: string; }; export { LinkButton };