@Composable
fun LazyItemScope.ReorderableItemColumn(
state: ReorderableLazyListState,
key: Any,
modifier: Modifier = Modifier,
enabled: Boolean = true,
animateItemModifier: Modifier = Modifier.animateItem(),
content: @Composable ReorderableCollectionItemScope.(isDragging: Boolean) -> Unit,
) {
ReorderableItem(
state = state,
key = key,
modifier = modifier,
enabled = enabled,
animateItemModifier = animateItemModifier,
content = { isDragging ->
Column {
content(isDragging)
}
}
)
}