This repository has been archived by the owner on Jan 16, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(shadcn:data-table): set DataTable height if provided
## what - set DataTable height if provided ## how - take `height` as a prop - set the height of the table if it's defined - set the table to overflow-y if height is defined ## why - a replacement for `VirtualTable` - VirtualTable struggles to scroll when theres high amounts of items to render. DataTable can handle high items without issue - to have the ability to set the size of the DataTable ## where - ./src/components/ui/data-table/index.tsx ## usage
- Loading branch information