It has nothing to doe with the UCameraComponent or ACharacter.
Search for the APlayerCameraManager class and create a derived class from it.
Then you have to tell your APlayerController class to use your new camera manager class by setting PlayerCameraManagerClass.