pagination={{
size: 'small',
position: ['bottomCenter'],
defaultPageSize: 30,
style: { marginTop: '18px', border: '1px solid #cdc1ff', borderRadius: '6px', padding: '4px' }, <-----
pageSizeOptions: ['30', '60', '90', '120'],
current: productionOrdersData?.currentPage,
total: productionOrdersData?.totalRecordsCount,
showTotal: handleTotal,
onChange: (page, pageSize) => setPagination({ page, pageSize })
}}
const handleTotal = (total: number, range: [number, number]): JSX.Element => (
<Text>Exibindo de <Text strong>{range[0].toLocaleString()}</Text> ao <Text strong>{range[1].toLocaleString()}</Text> de <Text strong>{total.toLocaleString()}</Text> Ordens de Produção</Text>
)