Add component type to componentCreated event