This documentation is available as Markdown for AI agents and LLMs. See the full Markdown index or append .md to any documentation URL.
复选框
一个表示选中或未选中状态的切换控件。
Android
iOS
Web
Included in Expo Go
Recommended version:
~58.0.15
一个受控的复选框。将 value 与 onValueChange 配对以从 React 管理状态。
🌐 A controlled checkbox. Pair value with onValueChange to manage state from React.


安装
🌐 Installation
Terminal
If you are installing this in an existing React Native app, make sure to install expo in your project.
用法
🌐 Usage
基本复选框
🌐 Basic checkbox
CheckboxExample.tsx
已禁用
🌐 Disabled
DisabledCheckboxExample.tsx
应用接口
🌐 API
import { Checkbox } from '@expo/ui';
No API data file found, sorry!