React工作75:ant design 锚点
2023-05-15 10:01:25 阅读次数:101
React,编程开发
import { Anchor } from 'antd';
const { Link } = Anchor;
ReactDOM.render(
<Anchor>
<Link href="https://www.ctyun.cn/portal/link.html?target=%23components-anchor-demo-basic" title="Basic demo" />
<Link href="https://www.ctyun.cn/portal/link.html?target=%23components-anchor-demo-static" title="Static demo" />
<Link href="https://www.ctyun.cn/portal/link.html?target=%23components-anchor-demo-basic" title="Basic demo with Target" target="_blank" />
<Link href="https://www.ctyun.cn/portal/link.html?target=%23API" title="API">
<Link href="https://www.ctyun.cn/portal/link.html?target=%23Anchor-Props" title="Anchor Props" />
<Link href="https://www.ctyun.cn/portal/link.html?target=%23Link-Props" title="Link Props" />
</Link>
</Anchor>,
mountNode,
);
版权声明:本文内容来自第三方投稿或授权转载,原文地址:https://blog.51cto.com/u_15460007/6048810,作者:前端导师歌谣,版权归原作者所有。本网站转在其作品的目的在于传递更多信息,不拥有版权,亦不承担相应法律责任。如因作品内容、版权等问题需要同本网站联系,请发邮件至ctyunbbs@chinatelecom.cn沟通。
上一篇:hackerrank challenges median
下一篇:前端项目实战55-具有此属性