//the reactjs code can also be imported into another component with the following code: