For this, you need “EditInlineNew” as specifier of your base C++ class and “EditAnyWhere” as specifier of the UProperty:
UCLASS(EditInlineNew) class XXXX UCameraComponent : public UGameplayComponent
And
UPROPERTY(Category = "Camera", BlueprintReadOnly, EditAnyWhere) UCameraComponent * CameraComponent;