IDataTableFooterProps
interface
Component Props
Full props contract for <OrigamDataTableFooter> — pagination icons, per-page options, accessible page labels, and the full color/padding/alignment design surface.
TypeScript
Définition
La définition TypeScript de l'interface telle que trouvée dans le code source d'origam. Cliquez sur l'icône de copie pour copier l'extrait.
Héritage
Hérite de
Interfaces parentes dont celle-ci hérite. Leurs propriétés sont disponibles pour tout consommateur de cette interface.
API
Propriétés
Chaque propriété déclarée par cette interface, avec son type, son caractère optionnel et sa valeur par défaut.
- prevIconTIcon
- Icon for the previous-page button.
- nextIconTIcon
- Icon for the next-page button.
- firstIconTIcon
- Icon for the first-page button.
- lastIconTIcon
- Icon for the last-page button.
- itemsPerPageTextstring
- Label rendered before the items-per-page selector.
- pageTextstring
- Label template for the current page range (e.g. "1-10 of 42").
- firstPageLabelstring
- Accessible label for the first-page button.
- prevPageLabelstring
- Accessible label for the previous-page button.
- nextPageLabelstring
- Accessible label for the next-page button.
- lastPageLabelstring
- Accessible label for the last-page button.
- itemsPerPageOptionsArray<number | { title: string, value: number }>
- Options for the items-per-page selector. Can be plain numbers or objects with a display title.
- showCurrentPageboolean
- Display the current page number in the footer.
Écosystème
Utilisé par
Composants et composables qui étendent ou consomment cette interface.
Usage
Exemples
Extraits de code prêts à coller utilisant cette interface.
Custom items-per-page options with labels