We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6bb1a6d commit 9551451Copy full SHA for 9551451
1 file changed
README.md
@@ -142,8 +142,14 @@ class MySortableList extends React.Component {
142
handleMove(evt) { // Event when you move an item in the list or between lists
143
}
144
render() {
145
+ const items = this.state.items.map((val, index) => (
146
+ <li key={index}>{val}</li>
147
+ ));
148
+
149
return (
- <ul ref="list">{items}</ul>
150
+ <div>
151
+ <ul ref="list">{items}</ul>
152
+ </div>
153
);
154
155
0 commit comments