1.1.4 • Published 6 years ago

react-native-whatsnew v1.1.4

Weekly downloads
3
License
WTFPL
Repository
github
Last release
6 years ago

react-native-whatsnew

Travis npm

Description

WhatsNew automatically displays a short description of the new features when users update your app. This is similar to what happens in Apple's apps like Pages, Numbers, Keynote, iMovie and TestFlight.

Usage

import WhatsNew from 'react-native-whatsnew';

const App = () => {
	const data = [{
		title: 'First title',
		text: 'This is the text for first title'
	}, {
		title: 'Second title',
		text: 'This is the text for second title'
	}];
	
	const onPress = () => {
		// Handle your action for Continue button
	};
	
	return <WhatsNew data={data} onPress={onPress} />
}

Props

{
  "onPress": "Function, that invokes when you press 'Continue' button",
  "data": {
    "title": "Item title. Required field",
    "text": "Item text. Required field"
  },
  "containerStyle": "Main wrapper styles",
  "titleStyle": "'What's new' style",
  "listStyle": "Main list style",
  "listItemStyle": "List item style",
  "listItemTitleStyle": "List item title style",
  "listItemTextStyle": "List item text style",
  "buttonStyle": "'Continue' button style",
  "buttonTextStyle": "'Continue' text style",
  "isAnimated": "Allow use animation for all components",
  "titleText": "Change 'What's new' with your text",
  "buttonText": "Change 'Continue' on button with your text"
}

Author

I'm Dmytro Batarin. Email: contact@batarin.zp.ua. Inspired by BalestraPatrick/WhatsNew

1.1.4

6 years ago

1.1.3

7 years ago

1.1.2

7 years ago

1.1.1

7 years ago

1.1.0

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago