table
table copied to clipboard
change style 'maxHeight' to 'height'
if (fixHeader) {
scrollYStyle = {
overflowY: 'scroll',
maxHeight: scroll.y,
};
}
if set maxHeight,when height of content is smaller than 'scroll.y',pagination will placed at the bottom of table,but i think most of user want to place pagination into bottom of container which we set by 'scroll.y'
This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.
🔍 Inspect: https://vercel.com/react-component/table/GMdcgpCPgZUGNuF97rHwXmVSqihH
✅ Preview: https://table-git-fork-lesterweng-master-react-component.vercel.app