@spark-web/text-link
Version:
--- title: Text Link storybookPath: navigation-textlink--default isExperimentalPackage: true ---
13 lines (12 loc) • 718 B
TypeScript
import type { DataAttributeMap } from '@spark-web/utils/internal';
import type { HTMLAttributes } from 'react';
import type { TextLinkProps } from "./text-link.js";
export declare type TextLinkButtonProps = {
/** Sets data attributes on the component. */
data?: DataAttributeMap;
} & HTMLAttributes<HTMLSpanElement> & Omit<TextLinkProps, 'href'>;
/** The appearance of `TextLink`, with the semantics of a `<button/>`. */
export declare const TextLinkButton: import("react").ForwardRefExoticComponent<{
/** Sets data attributes on the component. */
data?: DataAttributeMap | undefined;
} & HTMLAttributes<HTMLSpanElement> & Omit<TextLinkProps, "href"> & import("react").RefAttributes<HTMLSpanElement>>;