react-beautiful-dnd-kr
react-beautiful-dnd-kr copied to clipboard
오타 speling
아랫 부분에 오타가 있습니다. 수정해주세요..
<Draggable draggable="draggable-1">
{(provided, snapshot) => {
const style = {
...provided.draggableStyle,
**backgroundColor: snapshot.isDragging : 'blue' : 'white'
fontSize: 18,
}
return (
<div>
<div
ref={provided.innerRef}
style={style}
>
Drag me!
</div>
</div>
);
}}
</Draggable>
backgroundColor: snapshot.isDragging : 'blue' : 'white',** => **backgroundColor: snapshot.isDragging ? 'blue' : 'white'