import Pagination from '..'; import React, { CSSProperties } from 'react'; import ReactDOM from 'react-dom'; const handlePageSizeChange = size => console.log(size); const containerStyle = { height: '300px', padding: 0, width: '100%', }; const boxStyle: CSSProperties = { overflow: 'auto', position: 'relative', width: '100%', height: '200px', border: '1px solid black', }; const tempStyle = { height: '200px', display: 'flex', 'justify-content': 'center', 'align-items': 'center', }; const parentStyle = { display: 'flex', 'justify-content': 'space-between', }; const popupProps = { align: 'bl tl', }; ReactDOM.render(

default align - 'tl bl'

custom align - 'bl tl'

Inside parent with "overlflow: auto"

scroll down to see the example

default align - 'tl bl'

custom align - 'bl tl'

, document.getElementById('pagination-demo-10'), );