Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/netbeast/react-native-dial

A react native reusable and efficient dial knob element
https://github.com/netbeast/react-native-dial

component dial knob react-native ui

Last synced: about 1 month ago
JSON representation

A react native reusable and efficient dial knob element

Awesome Lists containing this project

README

        

# react-native-dial
![npm version](https://badge.fury.io/js/react-native-dial.svg)


works with yeti

> This package powers [Yeti Smart Home](https://getyeti.co) and is used in production.

A react native reusable and efficient dial knob element.

```javascript
import { Dial } from 'react-native-dial'
// ...
this.toggle()}
responderStyle={styles.responderStyle}
wrapperStyle={styles.wheelWrapper}
onValueChange={(a, r) => this.changeBrightness(r)} />
```

demo screenshot

Some properties:
```

{/*
Optionally you can pass children so it renders a different component of your choice as a Dial,
that can change in scale and angle
*/}



```

More documentation is incoming, in the meanwhile please read the source code. It is a single file!
PRs and issues are more than welcome.

Follow us in Github or https://twitter.com/netbeast_co.