removed es6 modules syntax from react snippet