5.1.0 • Published 8 months ago

@licuido-ui/ui_pagination v5.1.0

Weekly downloads
-
License
MIT
Repository
-
Last release
8 months ago

Stepper

The Pagination component enables the user to select a specific page from a range of pages.

Author

Link

Story Book Link stepper

PlayGround

Try it have a fun codeBox

Installation

npm i @licuido-ui/ui_pagination

Import component

import { Pagination } from '@licuido-ui/ui_pagination';

Usage

<Pagination count={} variant='' />

Image

alt text

Sample Code

<Pagination 
   count={5}
   variant=''
   shape=''
   disabled={false}
   size=''
   startIcon={<LeftArrow />}
   endIcon={<RightArrow />}
   value={05}
   totalCount={[]}
   handleChange={handleChange}
   perPage='' />

Props

PropTypeDescription
classNamestringOverride class name for additional styling.
sxSxProps<Theme>System overrides and additional CSS styles.
formControlStyleSxPropsStyles applied to the form control component.
paginationBoxStyleSxPropsStyles applied to the form control box component.
paginationButtonStyleSxPropsStyles applied to the pagination button component.
countnumberThe count applied to pagination.
variant'text' or 'outlined'The variant applied to pagination.
shape'rounded' or 'circular'The shape applied to pagination.
size'small' or 'large' or 'medium'The size applied to pagination.
disabledbooleanUsed to disable the previous and next button.
startIconReact.ReactNodeChange the previous icon.
endIconReact.ReactNodeChange the next icon.
selectIconReact.ReactNodeChange the select component icon.
perPagenumber or stringDefine the per page value.
totalCountstring[]Define the total count for the pages.
handleChange(event: SelectChangeEvent<string>) => voidonChange callback function for select component.
handleChangePage(event: React.ChangeEvent<unknown>, page: number) => voidonClick callback function for pagination buttons.
valuestringState of the selected value in pagination.
paginationBottomTextRootStyleSxPropsStyles applied to the pagination button component.
showPaginationBottomCountTextStyleSxPropsStyles applied to the pagination button component.
showPaginationBottomCountTextSxPropsStyles applied to the pagination button component.
siblingCountnumbercount applied to the pagination intervels component.
boundaryCountnumbercount applied to the pagination intervels component.
disableVisibleTotalCountSelectMenubooleanprop applied to the pagination select total count memnu visible disable.