import type { TablePaginationConfig } from 'antd';

/**
 * 09_UI_DESIGN.md §5 DataTable — 표준 페이지네이션 설정.
 * 사용: pagination={{ ...defaultPagination, current, pageSize, total, onChange }}
 */
export const defaultPagination: TablePaginationConfig = {
  showSizeChanger: true,
  pageSizeOptions: ['20', '50', '100'],
  defaultPageSize: 20,
  showTotal: (total) => `총 ${total.toLocaleString()}건`,
};
