跳到主要内容

<html.a>

<html.a> 组件允许您渲染一个指向另一个页面或应用程序的链接。

概述

要显示文本链接,请使用 href 属性渲染 <html.a> 组件。

import { html } from 'react-strict-dom';

const Foo = () => <html.a href={...} />

属性