How to function the takePictureAsync

Hi,

I rencently started in react native. I wanted to create an app who uses the camera and who takes pictures.

I’m using Expo SDK 48 and expo-camera@.
I can’t use the component method.

I wanted to know if anyone could to explain how to use it.

Thank you for the future explaination.