# useDNDMonitior

**not completed**

Some times you will need to get some information about drag and drop. which just for display some content about dragging status or some information this hook was designed to get that informattion from as.

in simple words, If you need info about drag and drop then you can use this hook.

**`NOTE`** it was **expimental** feature, it may change in minor version, if you need this please contact us.

### ok, How to use ?

example usage below given.

```jsx
import { useDNDMonitior } from '@zohodesk/react-dnd';

function selector() {
  return 'content';
}

function MyDisplayComponent(props) {
  const data = useDNDMonitior(selector);

  return <div className={'some styles'}>{data.content}</div>;
}
```

#### Explanation

if you need dragPreview then just use **useDNDMonitior**.

## useDNDMonitior
