PageIndicator indicates the current active page.
<PageIndicator total={10} current={1} /><PageIndicator total={10} current={1} />
Basic usage of PageIndicator component.
| Properties | Description | Type | Default |
|---|---|---|---|
| total | The total page number | number | - |
| current | The current page (counting from 0) | number | - |
| color | The color | 'primary' | 'white' | 'primary' |
| vertical | Whether the direction mode is vertical | boolean | false |