- Notifications
You must be signed in to change notification settings - Fork3
React Library for Crestron CH5
License
NotificationsYou must be signed in to change notification settings
avspltd/react-ch5
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This is a pre 1.0.0 release. It is not really feature-complete, just a proof of concept with basic hooks support for CH5.
These hooks allow publish and subscribe of digital/boolean, analog/number and string values.
npm install --save react-ch5
or
yarn add react-ch5
import*asReactfrom'react'import{useMyHook}from'@avsp/hook'constExample=()=>{constexample=useMyHook()return(<div>{example}</div>)}
This hook is created usingcreate-react-hook.