react-native-equalizer
v0.2.86
Published
An equalizer like control for react native
Downloads
13
Maintainers
Readme
react-native-equalizer
A component that emulates an equalizer.
Installation
npm install react-native-equalizer
Usage
From the example
import React from 'react';
import { StyleSheet, Text, View } from 'react-native';
import Equalizer from 'react-native-equalizer'
export default class App extends React.Component {
render() {
return (
<View style={styles.container}>
<Equalizer maximumValue={100} data={{a: {value: 0, label: 'Bass'}, b: {value:50, label: 'Trible'}, c: {value: 50, label: 'Test'}}} />
</View>
);
}
}
const styles = StyleSheet.create({
container: {
flex: 1,
backgroundColor: '#fff',
alignItems: 'stretch',
justifyContent: 'center',
},
});
Author
Alexander Forselius [email protected]
License
MIT