Add OpenDoor C++ Component to Static Mesh in Blueprint class

When I add a Child Actor Component to my Blueprint, I still can’t add a C++ Component to it. The Child Actor Component takes only Blueprint. Any help?