My custom component for a custom cell is created using Typescript:
1.import {GridCellProps} from '@progress/kendo-react-grid';2. 3.export class CustomCell extends React.Component<Readonly<GridCellProps>> {4. ...5.}I am trying to pass a custom prop to it:
MyCustomCell = (props) => <CustomCell {...props} myProp={this.customData} />But get the error:
Property 'myProp' does not exist on type 'Readonly<Readonly<GridCellProps>> & Readonly<{ children?: ReactNode; }>'.
How can I get past the TS constraint?
