UNPKG

@hypothesis/frontend-shared

Version:

Shared components, styles and utilities for Hypothesis projects

18 lines (17 loc) 748 B
/** * Render a link (`<a>`) with common attributes but no styling * * @typedef {import('../../types').PresentationalProps} CommonProps * @typedef {import('preact').JSX.HTMLAttributes<HTMLAnchorElement>} HTMLAnchorAttributes * * @param {CommonProps & HTMLAnchorAttributes} props */ export default function LinkUnstyled({ children, classes, elementRef, ...htmlAttributes }: CommonProps & HTMLAnchorAttributes): import("preact").JSX.Element; /** * Render a link (`<a>`) with common attributes but no styling */ export type CommonProps = import('../../types').PresentationalProps; /** * Render a link (`<a>`) with common attributes but no styling */ export type HTMLAnchorAttributes = import('preact').JSX.HTMLAttributes<HTMLAnchorElement>;