Completed
Last Updated: 28 Jul 2023 12:00 by ADMIN
Ryan
Created on: 22 Mar 2021 03:36
Category: KendoReact
Type: Bug Report
0
ListView item props needs appropriate type
The ListView component has a prop called item that allows you to pass in a custom component for rendering. The type definition for that prop is a component with a props type of "any". The any prop type isn't good here because it's clear there's a structure to these props. Can you please modify this to add a type definition? Thanks.
1 comment
ADMIN
Stefan
Posted on: 22 Mar 2021 06:47

Hello, Ryan,

This is already logged as tasks and the status can be monitored here:

https://github.com/telerik/kendo-react/issues/863

This is how the props look inside the code, I hope this will help until the interface is added:

<Item dataItem={dataItem} index={index} key={index} />)}

Regards,
Stefan
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.