Changed the input portion to its own React object.