Setup structure for React submit