setDropTargetData

@Composable
fun Modifier.setDropTargetData(format: String, callback: (String?) -> Unit): Modifier(source)

Sets the current component as a D&D drop target with helper callback accepting String data.