In our project we use typescript and define the renderThumb component outside of the jsx template.
Here it would be great to be able to use the type definitions provided by the library:
exort const MyComponent () => {
const renderThumb = (params: IRenderThumbParams) => { // here we want to use the type definition
// ...
}
return (
<Range
// ...
renderThumb={renderThumb}
/>
)
}
Thank you for providing this helpful utility!
In our project we use typescript and define the
renderThumb
component outside of the jsx template. Here it would be great to be able to use the type definitions provided by the library: