i am currently making a simple react application.
this is my index.tsx
import * as React from \'react\';
import * as ReactDOM from \'react-dom\
I'm not really proud of that but, considering other solutions in this thread, it seems fair enough.
This example shows a custom version of @react-native-community/slider with some default properties but able to receive (and overwrite) from outside:
function CustomSlider(props: SliderProps) {
return (
);
}