Sha256: 7461d3af802c4362127a1236f442f12e0a91f49299f4d76bb97a7545478ee67b

Contents?: true

Size: 326 Bytes

Versions: 7

Compression:

Stored size: 326 Bytes

Contents

import React from 'react'
import PropTypes from 'prop-types'
import { useDrag } from 'react-dnd'

import { GROUP } from './GroupsConstants'

const Group = (props) => {
  const [, drag] = useDrag({
    type: GROUP,
    item: {
      ...props
    },
  });

  return (
    <span ref={drag}></span>
  );
};

export default Group;

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
foreman_patch-1.2.0.alpha1 webpack/components/Groups/Group.js
foreman_patch-1.1.6.alpha5 webpack/components/Groups/Group.js
foreman_patch-1.1.6.alpha4 webpack/components/Groups/Group.js
foreman_patch-1.1.5 webpack/components/Groups/Group.js
foreman_patch-1.1.4 webpack/components/Groups/Group.js
foreman_patch-1.1.3 webpack/components/Groups/Group.js
foreman_patch-1.1.1 webpack/components/Groups/Group.js