There\'s a little bit of a debate at work on whether it is necessary to import React in stateless components and I can\'t find any docs about it. So:
React
Use option 1 because babel will transform your jsx Submit to React.createElement("button", { onClick: action }, "Submit");
Submit
React.createElement("button", { onClick: action }, "Submit");
So as you see react must be in scope. You have two options: