An example of using Dire with Component.