How to store base class component?

I want specific class component chosen from editor. For example if I have 2 different components which have the same parent class. I store pointer to the base class in Actor class and want to specify child class in editor. How should I do that?