createReactShinyInput function

Create a reactR shiny input element