English | 简体中文
for docs, please visit tuya docs
for users outside Chinese mainland, please remove .npmrc
file.
$ curl https://codeload.github.com/tuya/tuya-panel-demo/tar.gz/master | tar -xz --strip=2 tuya-panel-demo-master/examples/curtain
$ mv basic tuya-panel-curtain-example
$ cd tuya-panel-curtain-example
The template project is a curtain template based on react native 0.59 and supports the following functions:
- Turn on and off
- Pause on or off
- Change working mode
- Countdown display
You can scan the following QR code through the Tuya app to preview.
$ npm install && npm run start
# or
$ yarn && yarn start
Copyright © 2020