PageControl
Page indicator, typically used in paged scroll-views.
PropTypes
Prop | Type | Description |
---|---|---|
numOfPages | number | Total number of pages |
currentPage | number | Zero-based index of the current page |
onPagePress | function | Action handler for clicking on a page indicator |
color | string | Color of the selected page dot and the border of the not selected pages |
size | number | The size of the page indicator |
containerStyle | object, number, or array | Additional styles for the top container |
Usage
import {TextArea} from 'react-native-ui-lib';