跳到主要内容
知仓学习社ZHICANG

react-navigation

Provides React Navigation UI patterns for stacks, tabs, drawers etc. Use when building navigation UIs with React Navigation, configuring headers, bo…

不碰外部(只输出文字)无严重或高危命中callstackincubator/agent-skills

它会碰到什么

扫了多少10 个文本文件,79 KB
它会碰到什么不碰外部(只输出文字)
命中总数0 处
命中统计严重 0 · 高 0 · 中 0 · 低 0

这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。

技能内容

React Navigation

Overview

Guide for building navigation UIs with React Navigation.

This skill only applies to React Navigation 7. The API and patterns may not work with different versions.

API Selection

React Navigation offers two API - object-based Static API and component-based Dynamic API.

  • Existing Apps: Check the current navigation setup and follow the same API style when using the references
  • New Apps: If the app does not have an existing navigation setup yet, prefer Static API

When to Apply

Reference this skill when:

  • Building navigation UI patterns such as stacks, tabs, drawers, sheets etc.
  • Configuring headers and other built-in navigator UI
  • Handling safe areas and insets in navigation UI

References

| File | Description |

| ------------------------------------------- | ------------------------------ |

| [stacks.md][stacks] | Stack based navigation |

| [form-sheet.md][form-sheet] | Bottom sheet and form sheets |

| [bottom-tabs.md][bottom-tabs] | Cross-platform bottom tabs |

| [native-bottom-tabs.md][native-bottom-tabs] | Native bottom tabs |

| [material-top-tabs.md][material-top-tabs] | Swipeable Top tabs |

| [drawers.md][drawers] | Drawer navigation and sidebars |

| [header.md][header] | Configuring headers |

| [safe-areas.md][safe-areas] | Safe-area handling |

Problem -> Skill Mapping

| Problem | Start With |

| ------------------------------------------------------------------------- | ------------------------------------------- |

| Showing screens and modals in a stack | [stacks.md][stacks] |

| Showing bottom sheets or form sheets | [form-sheet.md][form-sheet] |

| Showing screens in bottom tabs or responsive sidebars with web support | [bottom-tabs.md][bottom-tabs] |

| Showing screens in native tabs on iOS & Android | [native-bottom-tabs.md][native-bottom-tabs] |

| Showing content in swipeable top tabs | [material-top-tabs.md][material-top-tabs] |

| Using a drawer or sidebar | [drawers.md][drawers] |

| Configuring the header in bottom tab or drawer navigator | [header.md][header] |

| Handling safe-area such as status bar, header insets, tab bar insets etc. | [safe-areas.md][safe-areas] |

[stacks]: references/stacks.md

[form-sheet]: references/form-sheet.md

[safe-areas]: references/safe-areas.md

[bottom-tabs]: references/bottom-tabs.md

[native-bottom-tabs]: references/native-bottom-tabs.md

[material-top-tabs]: references/material-top-tabs.md

[drawers]: references/drawers.md

[header]: references/header.md

想直接用这个技能?

本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。