react-native-whatsnew
v1.1.4
Published
Showcase new features after an app update similar to Pages, Numbers and Keynote.
Downloads
2
Readme
react-native-whatsnew
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: [email protected]. Inspired by BalestraPatrick/WhatsNew