Co-authored-by: Huáng Jùnliàng <jlhwung@gmail.com> Co-authored-by: Babel Bot <babel-bot@users.noreply.github.com>
11 lines
248 B
JavaScript
11 lines
248 B
JavaScript
export default {
|
|
function(name) {
|
|
return babelHelpers.asyncToGenerator(function* () {
|
|
const uppercasedName = name.upperCase(); // awaits depending on uppercasedName go here
|
|
|
|
return <Foo name={uppercasedName} />;
|
|
})();
|
|
}
|
|
|
|
};
|