Added demo for new resolveComponent