updating example for components to show using them as partials or components