add component as dep