Comments (2)
Hey, @reintroducing, thanks for raising this!
This happens because the components expects to be passed sortIcons
if and only if sortStatus
and onSortStatusChange
are also set.
In your usage scenario, there's no way for TS to infer that ...props
actually includes sortStatus
and onSortStatusChange
.
I'll make sure to relax the types a bit in 7.4
, which will be published in a few minutes.
from mantine-datatable.
@icflorescu thank you, just updated and everything works as expected, much appreciated!
from mantine-datatable.
Related Issues (20)
- Update README image
- Takes a lot of time for autocomplete in the table + tsserver lagging HOT 2
- Doesn't disappear 'No records' when have a data HOT 3
- UI glitch with highlight on hover and no data present
- Ability to add sort ID to columns HOT 3
- drag and drop with @hello-pangea/dnd HOT 1
- Improve column toggling UX HOT 4
- Arrow visible in records per page component HOT 2
- Table option wont' work HOT 1
- Storybook: "No records" always show, even with data HOT 6
- [Question] Table is unresponsive with a lot of entries
- Pin multiple columns HOT 2
- ScrollBar Extends into Headers and Footers HOT 1
- how to use sticky in header table ? HOT 2
- selecting multiple checkboxes with 1 click & drag HOT 1
- change icon drag columns or remove icon HOT 1
- Error upgrading DataTable with Vite from 1.7.17 to 7.5.1 HOT 2
- Add custom header icons (in the style of sortable, filterable, toggleable) HOT 3
- Blur makes the table very dark HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mantine-datatable.