diff --git a/app/components/ui/table.tsx b/app/components/ui/table.tsx index ca22ed5..3225929 100644 --- a/app/components/ui/table.tsx +++ b/app/components/ui/table.tsx @@ -11,6 +11,10 @@ export type UiTableProperties = { title: string } +const renderPaginationIcon = (icon: string) => { + return `
${icon}
` +} + export const UiTable: React.FC = ({ data, columns, @@ -33,6 +37,22 @@ export const UiTable: React.FC = ({ searching: true, ordering: true, info: true, + language: { + paginate: { + first: renderPaginationIcon( + ``, + ), + previous: renderPaginationIcon( + ``, + ), + next: renderPaginationIcon( + ``, + ), + last: renderPaginationIcon( + ` `, + ), + }, + }, ...options, }} />