Skip to content

Commit 0bdb983

Browse files
author
Sibusiso Massango
committed
docs: updating the readme document
1 parent 2f5860c commit 0bdb983

File tree

6 files changed

+17837
-51142
lines changed

6 files changed

+17837
-51142
lines changed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,19 @@ npm install react-native-multi-steps
1414
```
1515

1616
## Usage
17-
17+
### NB: buttonstyle is deprecated from this verison.
18+
It will be replaced by nextButtonStyle, previousButtonStyle and submitButtonStyle. This change will Developers to have controll on how they want to customize each and every button. All thanks to [Anand Kumar](https://github.com/anand-netzoptimize) our new contributor
1819
## props
1920

2021

2122
| Props | Optional | Type | Description |
2223
| ---------------------- | -------- | ------------- | ------------------------------------------------------------------------------ |
2324
| containerStyle | ``Yes`` | ``Object`` | Used to style the components container |
2425
| containerButtonStyle | ``Yes`` | ``Object`` | Used to style the button container |
25-
| buttonStyle | ``Yes`` | ``Object`` | Used to style the button |
26+
| buttonStyle | ``Yes`` | ``Object`` | Used to style the button ``Deprecated`` |
27+
| prevButtonStyle | ``Yes`` | ``Object`` | Used to style the button |
28+
| nextButtonStyle | ``Yes`` | ``Object`` | Used to style the button |
29+
| submitButtonStyle | ``Yes`` | ``Object`` | Used to style the button |
2630
| buttonLabelStyle | ``Yes`` | ``Object`` | Used to style the button label |
2731
| onMoveNext | ``No`` | ``function`` | Moving to the next child view |
2832
| onMovePrevious | ``No`` | ``function`` | Moving to the previous child view |

example/metro.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
const path = require('path');
2-
const blacklist = require('metro-config/src/defaults/blacklist');
2+
const blacklist = require('metro-config/src/defaults/exclusionList');
33
const escape = require('escape-string-regexp');
44
const pak = require('../package.json');
55

0 commit comments

Comments
 (0)