Skip to content

Instantly share code, notes, and snippets.

View s-hatakeyama-git's full-sized avatar

s-hatakeyama-git

View GitHub Profile
@s-hatakeyama-git
s-hatakeyama-git / DragBooked.js
Created March 13, 2020 07:48 — forked from cellog/DragBooked.js
React-DnD testing example
import { DragSource } from 'react-dnd';
import Booked from '../components/Booked'
const source = {
beginDrag(props) {
return {
group: props.group,
slot: props.slot,
room: props.room