@ray-js/lamp-circle-picker-white
v0.0.2
Published
LampCirclePickerWhite
Downloads
212
Readme
English | 简体中文
@ray-js/lamp-circle-picker-white
LampCirclePickerWhite
Installation
$ npm install @ray-js/lamp-circle-picker-white
# or
$ yarn add @ray-js/lamp-circle-picker-white
Usage
import LampCirclePickerColor from '@ray-js/lamp-circle-picker-white';
const [temp, setTemp] = useState(100);
<LampCirclePickerColor
thumbRadius={15}
temperature={temp}
radius={100}
onTouchStart={setTemp}
onTouchEnd={setTemp}
canvasId="white_picker_1"
/>;