Skip to content

Commit

Permalink
fix(docs): overview example (#727)
Browse files Browse the repository at this point in the history
Added missing extends to component
Closes #716
  • Loading branch information
maaaikoool authored and darthtrevino committed May 9, 2017
1 parent 40fbec9 commit 3a5ef9a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/00 Quick Start/Overview.md
Expand Up @@ -352,7 +352,7 @@ function collect(connect, monitor) {
};
}

class Card {
class Card extends React.Component {
render() {
// Your component receives its own props as usual
const { id } = this.props;
Expand Down Expand Up @@ -417,7 +417,7 @@ const cardSource = {
// You can ask the monitor about the current drag state:
isDragging: monitor.isDragging()
}))
export default class Card {
export default class Card extends React.Component {
render() {
// Your component receives its own props as usual
const { id } = this.props;
Expand Down

0 comments on commit 3a5ef9a

Please sign in to comment.