rn-loader-button

Simple React Native Loader Button

Usage no npm install needed!

<script type="module">
  import rnLoaderButton from 'https://cdn.skypack.dev/rn-loader-button';
</script>

README

rn-loader-button

Simple React Native Loader Button

Example Avilable in ExampleApp.js file


<LoaderButton
title="Login"
isLoading={this.state.loading}
onButtonClick={this.onButtonClick.bind(this)}
/>

Props Type Default Optional Description
title string Title No Title For button
isLoading bool false No isLoading is boolean for showing loader
loaderSize string small Yes loaderSize is loader size
loaderColor string black Yes loaderColor is color for loader
onButtonClick fucn undefined No callback function for button click