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

@react-native-masked-view/masked-view

提供屏蔽视图的库。

Android
iOS
tvOS
Included in Expo Go
Recommended version:
0.3.2

@react-native-masked-view/masked-view 提供了一个遮罩视图,只显示与其遮罩元素中渲染的视图重叠的像素。

安装

🌐 Installation

Terminal
- npx expo install @react-native-masked-view/masked-view
- yarn expo install @react-native-masked-view/masked-view
- pnpm expo install @react-native-masked-view/masked-view
- bun expo install @react-native-masked-view/masked-view

If you are installing this in an existing React Native app, make sure to install expo in your project. Then, follow the installation instructions provided in the library's README or documentation.

了解更多

🌐 Learn more

访问官方文档

获取有关 API 及其使用的完整信息。