base-ui icon indicating copy to clipboard operation
base-ui copied to clipboard

[pagination] Create the unstyled component

Open michaldudak opened this issue 2 years ago • 4 comments

This is the place to gather ideas, measure interest and discuss the API and implementation details of the pagination component.

See https://github.com/mui/base-ui/issues/10 for the umbrella issue to track progress on Base UI and https://github.com/mui/material-ui/issues/6218 for the problem this project solves.

michaldudak avatar Jul 19 '23 12:07 michaldudak

Create the unstyled component and hook

The hook already exists, so it's more of a migration:

https://github.com/mui/material-ui/blob/master/packages/mui-material/src/usePagination/usePagination.js

mbrookes avatar Dec 15 '23 00:12 mbrookes

It doesn't follow the patterns from other Base UI hooks (https://github.com/mui/material-ui/blob/master/packages/mui-base/CONTRIBUTING.md), so it must be overhauled significantly.

michaldudak avatar Dec 15 '23 12:12 michaldudak