This documentation is available as Markdown for AI agents and LLMs. See the full Markdown index or append .md to any documentation URL.

Expo 路由链接

一个 Expo Router API,提供 Link、Redirect、preview 和 zoom 转场组件。

Android
iOS
tvOS
Web
Included in Expo Go
Recommended version:
~58.0.17

一个 Expo Router API,提供在路由之间导航的组件,包括链接、重定向、预览和缩放过渡。

🌐 An Expo Router API that provides components for navigating between routes, including link, redirect, preview, and zoom transitions.

用法

🌐 Usage

import { Link } from 'expo-router'; export default function Page() { return <Link href="/about">About</Link>; }

有关在路由之间导航的更多信息,请阅读导航指南:

🌐 For more information about navigating between routes, read the navigation guide:

在页面之间导航

学习如何在 Expo Router 中在页面之间导航。

应用接口

🌐 API

import { Link, Redirect } from 'expo-router';

No API data file found, sorry!