Skip to content

Instantly share code, notes, and snippets.

View mauriciofierrom's full-sized avatar
💻
Bit by bit

Mauricio Fierro mauriciofierrom

💻
Bit by bit
View GitHub Profile
@mauriciofierrom
mauriciofierrom / Dnd.re
Created August 26, 2018 04:16 — forked from SllyQ/Dnd.re
open ExtUtils;
module DragDropContext = {
[@bs.module "react-beautiful-dnd"] external reactClass : ReasonReact.reactClass =
"DragDropContext";
Js.log(reactClass);
let make = (~onDragEnd, children) =>
ReasonReact.wrapJsForReason(~reactClass, ~props={"onDragEnd": onDragEnd}, children);
};