Skip to content

Commit

Permalink
fix(DragLayer.md): extend React.Component (#814)
Browse files Browse the repository at this point in the history
  • Loading branch information
jedwards1211 authored and darthtrevino committed Jul 10, 2017
1 parent fbc13d1 commit 212ac7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/01 Top Level API/DragLayer.md
Expand Up @@ -283,7 +283,7 @@ function getItemStyles(props) {
currentOffset: monitor.getSourceClientOffset(),
isDragging: monitor.isDragging()
}))
export default class CustomDragLayer {
export default class CustomDragLayer extends React.Component {
static propTypes = {
item: PropTypes.object,
itemType: PropTypes.string,
Expand Down

0 comments on commit 212ac7c

Please sign in to comment.