0.0.3 • Published 4 years ago

react-native-beautiful-state-view v0.0.3

Weekly downloads
3
License
MIT
Repository
github
Last release
4 years ago

Battle Tested ✅

React Native Library Boiler Plate

npm version npm Platform - Android and iOS License: MIT styled with prettier

Installation

Add the dependency:

npm i react-native-beautiful-state-view

Peer Dependencies

IMPORTANT! You need install them
"react": ">= 16.x.x",
"react-native": ">= 0.55.x",

Usage

Import

import BeautifulStateView from "./lib/BeautifulStateView";

Usage

<BeautifulStateView
  resizeMode="contain"
  image={require("./assets/marketing_.png")}
/>

Configuration - Props

PropertyTypeDefaultDescription
titlestringGet free your unlimited space !change the title of the component
descriptionstringGet free unlimited space for your document just one subscription !change the description of the component
primaryButtonTextstringI wanna subscribechange the primary button's text
secondaryButtonTextstringNot now, Thanks !change the secondary button's text
primaryButtonOnPressfunctionundefinedset the function for primary button's onPress functionality
secondaryButtonOnPressfunctionundefinedset the function for secondary button's onPress functionality
primaryButtonTextColorcolor#fdfdfdchange the primary button's text color
primaryButtonShadowColorcolor#725dffchange the primary button's shadow color
primaryButtonBackgroundColorcolor#725dffchange the primary button's background color
primaryButtonTextColorcolorundefinedchange the primary button's text color

Future Plans

  • LICENSE
  • Write an article about the lib on Medium

Author

FreakyCoder, kurayogun@gmail.com

License

React Native Beautiful State View is available under the MIT license. See the LICENSE file for more info.