Skip to content
This repository has been archived by the owner on Apr 13, 2021. It is now read-only.

Commit

Permalink
docs: 🔥 cleanup for release
Browse files Browse the repository at this point in the history
  • Loading branch information
ahwelgemoed committed Jan 5, 2021
1 parent 8a9aa49 commit 6c89c0d
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
Binary file added .DS_Store
Binary file not shown.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ Some key features:
The idea behind it:

You wrap all the drag and droppable widgets into one containing dataview that is connected to a simple non persistable
entity with one string attribute. This is used to manage state between the widgets. For every colum you want you
entity with one string attribute. This is used to manage state between the widgets. For every column you want you
implement one Widget and configure it as set out below. this will give you the ability to order horizontally inside a
colum and vertically (drag between one widget and another).
column and vertically (drag between one widget and another).

<p align="center">
<h3>Usage</h3>
Expand Down
18 changes: 9 additions & 9 deletions src/components/DragCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,15 +79,15 @@ const DragCard = ({ children, item, index, reorderAfterDrop, listOfSortableItems
return (
<div
className={customClassNames}
style={{
padding: "0.5rem 1rem",
marginBottom: ".5rem",
cursor: "move",
borderRadius: 10,
border: "1px dashed",
borderColor: isOver ? "#c6c6c6" : "#fff",
backgroundColor: isDragging ? "#ddd" : "#fff"
}}
// style={{
// padding: "0.5rem 1rem",
// marginBottom: ".5rem",
// cursor: "move",
// borderRadius: 10,
// border: "1px dashed",
// borderColor: isOver ? "#c6c6c6" : "#fff",
// backgroundColor: isDragging ? "#ddd" : "#fff"
// }}
ref={ref}
>
{children}
Expand Down

0 comments on commit 6c89c0d

Please sign in to comment.