In the previous post we saw a React class component written in TypeScript, the component had state
support and event handling (button click event and text change event). The
component has a textbox and a button, we handle the onChange event of the textbox set the value in the name state
property. We capture the onClick event
of the button and set a greeting text in the message state object, this message
is displayed in the screen
In this post we will alter this component a bit so that the greeting message is passed as a property from the parent component.
In this post we will alter this component a bit so that the greeting message is passed as a property from the parent component.

