react-native-equalizer

0.2.86 • Public • Published

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 alexander.forselius@buddhalow.com

License

MIT

Package Sidebar

Install

npm i react-native-equalizer

Weekly Downloads

3

Version

0.2.86

License

MIT

Unpacked Size

565 kB

Total Files

169

Last publish

Collaborators

  • buddhalow