Rotate CameraControls around X and Z axes

Hi, community,
Currently, I’m using CameraControls from react-three/drei. I can rotate the camera around an axis passing through the center and perpendicular to the top and bottom (y-axis) by adjusting the azimuth angle. However, I don’t know how to adjust the camera to rotate around an axis passing through the center and perpendicular to the side faces (x, z axes). I appreciate any help from you. Thank you.