react-native-pure-button

react native button

Usage no npm install needed!

<script type="module">
  import reactNativePureButton from 'https://cdn.skypack.dev/react-native-pure-button';
</script>

README

react-native-pure-button

pure button, without any style.

Installation

npm install --save react-native-pure-button

Example

import Button from 'react-native-pure-button'

class Example extends Component {

    render() {
        return (
            <Button
                disabled={boolean}
                style={...}
                textStyle={...}
                activeOpacity={number}
                disabledStyle={...}
                disabledTextStyle={...}
                disabledActiveOpacity={number}
                onPress={}
                onLongPress={}
            >
                hello world
            </Button>
        )
    }
}