I'm actually implementing this for my own usage, so I was thinking if it could be helpful for others.
My current idea is to provide the functions canMoveUp, canMoveDown, moveUp and moveDown as props for sections inside an array. Does this sound good for you guys?
I might submit a PR later today (maybe in a hour or so).
Would this be a good feature to send as a PR?
I'm actually implementing this for my own usage, so I was thinking if it could be helpful for others. My current idea is to provide the functions
canMoveUp
,canMoveDown
,moveUp
andmoveDown
as props for sections inside an array. Does this sound good for you guys?I might submit a PR later today (maybe in a hour or so).