# All files / components/DragBox/styles DragBoxDiv.js

0% Statements 0/10
0% Branches 0/6
0% Functions 0/2
0% Lines 0/2

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13

     import styled from 'styled-components';

    export default styled.div`
      ${({ disablePointerEvents }) =>
        disablePointerEvents
          ? css`
              & > * {
                pointer-events: none;
              }
            `
          : null};
    `;