Which is a correct example of a method that could be used as an event handler?

https://www.codecademy.com/paths/web-development/tracks/front-end-applications-with-react/modules/react-102-stateless-inherit-stateful-u/quizzes/react-102-quiz-1

So this question was weird to me and I didn’t think this answer would be the correct one.

Which is a correct example of a method that could be used as an event handler?

class Cat extends React.Component({
  speak() {
    this.setState({noise: 'Meow'});
  }),

  render() {

  }
});

Every other example of of a react component starts

class ComponentName extends React.Component {

}

is this some weird edge case I haven’t run into yet where you can extend a react component but make it object instead of instance? I’m very confused on this one question and would love an explanation.