@spark-web/text-link
Version:
--- title: Text Link storybookPath: navigation-textlink--default isExperimentalPackage: true ---
17 lines (16 loc) • 520 B
TypeScript
export declare const TEXT_LINK_ERROR_MESSAGE = "TextLink components must be inside `Text`.";
export declare function useTextLink(tag: 'a' | 'span'): ({
readonly margin: 0;
readonly padding: 0;
readonly border: 0;
readonly boxSizing: "border-box";
readonly fontSize: "100%";
readonly font: "inherit";
readonly verticalAlign: "baseline";
readonly WebkitTapHighlightColor: "transparent";
} | {
color: string;
cursor: string;
textDecoration: string;
fontWeight: number;
})[];