Refactored the component type property to a shareable project