Using the exposed 'createMessage' method from the child component to write a message in the child component:
Message from parent component: