This is my code and im using this optional props: “radius={300} minPoints={2} maxZoom={12} extent={500}”
import { SuperClustering } from “react-leaflet-supercluster”;
import “react-leaflet-supercluster/src/styles.css”;
Type ‘{ children: Element[]; radius: number; minPoints: number; maxZoom: number; extent: number; }’ is not assignable to type ‘IntrinsicAttributes & SuperClusteringProps’.
Property ‘radius’ does not exist on type ‘IntrinsicAttributes & SuperClusteringProps’.
<SuperClustering radius={300} minPoints={2} maxZoom={12} extent={500}>
Markers…
</SuperClustering>
The code is working fine, but i have this problem type who dont do not leave me deploy on vercel…
This is the issue
Type ‘{ children: Element[]; radius: number; minPoints: number; maxZoom: number; extent: number; }’ is not assignable to type ‘IntrinsicAttributes & SuperClusteringProps’.
Property ‘radius’ does not exist on type ‘IntrinsicAttributes & SuperClusteringProps’.
i ve tried to modify the types file on node module and works, but when i deployed the issue shows
Luis Kurihara is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.