as

Settings
Sign out
Notifications
Alexa
亚马逊应用商店
AWS
文档
Support
Contact Us
My Cases
新手入门
设计和开发
应用发布
参考
支持
跳转到主要内容
The @amazon-devices/expo-checkbox library provides a basic boolean input for Android, iOS, web, and Vega. If you are looking for a more flexible component, see the guide to implementing your own checkbox.

Installation

  1. Add the JavaScript library dependency in the package.json file. Select the tab for your React Native version.
  1. Reinstall dependencies using npm install command.

Examples

The following example demonstrates basic usage of Checkbox.

API reference

Check out the official Expo documentation for expo-checkbox page for more details about this library and API reference information.

Components

Checkbox props

Additional resources

For information on additional libraries, see Supported Third-Party Libraries and Services.
最后修改于 2026年8月3日