class Book {
  logSomething() {
    console.log( 'Book.logSomething has been called' );
  }
}

module.exports = Book;

export default class {
  logSomething() {
    console.log( 'Book.logSomething has been called' );
  }
}

Change pure ES6 class declaration syntax for consistency with React classes
Change pure ES6 class declaration syntax for consistency with React classes
