Looks like CameraOptions isn't using the types provided by react-native-camera, which is causing the compiler to complain when passing initial props to useCamera. You should be able to use the types provided by react-native-camera to build the hook's options/params.

Looks like
CameraOptionsisn't using the types provided byreact-native-camera, which is causing the compiler to complain when passing initial props touseCamera. You should be able to use the types provided by react-native-camera to build the hook's options/params.