I want to make a component that either shows a loading spinner or the content. It\'s template looks like this