diff --git a/src/components/NePaginator.vue b/src/components/NePaginator.vue index 092d7ca..b200c57 100644 --- a/src/components/NePaginator.vue +++ b/src/components/NePaginator.vue @@ -47,6 +47,10 @@ const props = defineProps({ pageSizeLabel: { type: String, required: true + }, + listboxOptionsPanelStyle: { + type: String, + default: '' } }) @@ -136,6 +140,7 @@ function navigateToPage(page: number) { no-options-label="" optional-label="" aria-labelledby="page-size-label" + :options-panel-style="listboxOptionsPanelStyle" /> diff --git a/stories/NePaginator.stories.ts b/stories/NePaginator.stories.ts index 2a9a720..19749fe 100644 --- a/stories/NePaginator.stories.ts +++ b/stories/NePaginator.stories.ts @@ -17,7 +17,8 @@ const meta: Meta = { nextLabel: 'Go to next page', navPaginationLabel: 'Pagination', rangeOfTotalLabel: 'of', - pageSizeLabel: 'Show' + pageSizeLabel: 'Show', + listboxOptionsPanelStyle: '' } }