mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00:00
12 lines
254 B
JavaScript
12 lines
254 B
JavaScript
export default {
|
|
function(name) {
|
|
return babelHelpers.asyncToGenerator(function* () {
|
|
const uppercasedName = name.upperCase();
|
|
|
|
// awaits depending on uppercasedName go here
|
|
|
|
return <Foo name={uppercasedName} />;
|
|
})();
|
|
}
|
|
};
|