Automattic / dops-components

Shared Calypso-style components for non-Calypso projects.
GNU General Public License v2.0
9 stars 6 forks source link

ClipboardButton: Import Button using ES6 modules syntax in ClipboardButton instead of require() #58

Closed oskosk closed 8 years ago

oskosk commented 8 years ago

Fixes Automattic/jetpack#5094

After upgrading to Babel 6, mixing usages of export default and require() does not work in the same way as before.

Testing instructions

  1. On Jetpack, with this module npm linked to this branch, try to expand the Post By Email card under the Writing tab.
  2. Expect to see the card expand normally.
dereksmart commented 8 years ago

LGTM