@buuug7/simplify-pagination
v0.1.0
Published
simplify pagination package
Downloads
2
Readme
simplify pagination
Install
install @buuug7/simplify-pagination
package via npm, and then import from @buuug7/simplify-pagination/index.css
file.
npm install @buuug7/simplify-pagination
Usage
Default
<div class="pagination">
<a class="item" href="#">Previous</a>
<a class="item" href="#">1</a>
<a class="item active" href="#">2</a>
<a class="item" href="#">3</a>
<a class="item" href="#">Next</a>
</div>
Disabled
<div class="pagination">
<a class="item" href="#">Previous</a>
<a class="item" href="#">1</a>
<a class="item disabled" href="#">2</a>
<a class="item" href="#">3</a>
<a class="item" href="#">Next</a>
</div>
Small
<div class="pagination sm">...</div>
Center
<div class="pagination center">...</div>
Right
<div class="pagination right">...</div>