lampug_turn_on_light_camera
v0.0.5
Published
This is LamPug package
Downloads
6
Maintainers
Readme
Getting Started
Install
yarn add lampug_turn_on_light_camera or npm i lampug_turn_on_light_camera
Demo:
You can try it at https://testlib-pqv9lus4e-hoangvanlams-projects.vercel.app/
How to use
import CustomCam from "lampug_turn_on_light_camera";
- Switch status of the camera
CustomCam.turnOnLight(status)
Example Usage
import CustomCam from "lampug_turn_on_light_camera";
...
function switchLightStatus(status){
CustomCam.turnOnLight(status)
}
<button class="switch" onClick={switchLightStatus(true)}>On / Off</button>
🌵 Good luck 🌵
Create By Lãm Hoàng
Please contact via [email protected]