pager.jsx); I would recommend creating constants for
pageSize, and making
dataSourcea utility that you can import. Since
filterFieldscan be managed as external state variables, there's not an awesome way to get those incorporated as props without the user explicitly passing them.
pageSizeas default props to the custom component.
pageIndexwill probably need to be managed by your custom component, since that behavior will no longer be triggered by the default grid pager.
pageIndex, and perhaps