Skip to content

Commit 58118c5

Browse files
committed
Added default values for new props
1 parent ee69195 commit 58118c5

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -174,11 +174,11 @@ And in Android, image inside view component, view need width、height.
174174
| skipBtnLabel | string、Text element | Skip | The bottom left custom Text label |
175175
| nextBtnLabel | string、Text element || The bottom left custom Text label |
176176
| pageArray | array | | In the basic usage, you can input object array to render basic view example: ```[[{title: 'Page 1', description: 'Description 1', img: 'https://goo.gl/uwzs0C', imgStyle: {height: 80 * 2.5, width: 109 * 2.5 }, backgroundColor: '#fa931d', fontColor: '#fff', level: 10 }]``` , level is parallax effect level ,if you use pageArray you can't use custom view |
177-
| defaultIndex | number | number of the index of the initial index |
178-
| renderSkipButton | bool | a boolean defining if we should render the skip button |
179-
| renderDoneButton | bool | a boolean that defines if we should render the done button |
180-
| paginationStyles | object | an object of custom styling for the pagination container |
181-
| dotStyles | object | an object of custom styling for the dot pagination |
177+
| defaultIndex | number | 0 | number of the index of the initial index |
178+
| renderSkipButton | bool | true | a boolean defining if we should render the skip button |
179+
| renderDoneButton | bool | true | a boolean that defines if we should render the done button |
180+
| paginationStyles | object | {} | an object of custom styling for the pagination container |
181+
| dotStyles | object | {} | an object of custom styling for the dot pagination |
182182

183183
##### **Children View Properties**
184184
| Prop | PropType | Default Value | Description |

0 commit comments

Comments
 (0)