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