Skip to content

Latest commit

 

History

History

curtain

Tuya Panel Curtain Template

English | 简体中文

for docs, please visit tuya docs

for users outside Chinese mainland, please remove .npmrc file.

Download manually

$ 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

Introduction

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.

curtain

Running

$ npm install && npm run start
# or
$ yarn && yarn start

License

Copyright © 2020