StylishTransfer

fun <T> StylishTransfer(available: List<StylishTransferItem<T>>, selectedKeys: Set<Any>, onSelectedKeysChange: (Set<Any>) -> Unit, modifier: Modifier = Modifier, title: String = "", selectedTitle: String = "", selectionMode: StylishTransferSelectionMode = StylishTransferSelectionMode.Multiple)

A controlled dual-list transfer control for moving items between panes.

selectionMode defaults to StylishTransferSelectionMode.Multiple, so users can build a batch before moving it. Set StylishTransferSelectionMode.Single for one-at-a-time workflows.


fun <T> StylishTransfer(available: List<StylishTransferItem<T>>, state: StylishTransferState, onStateChange: (StylishTransferState) -> Unit, modifier: Modifier = Modifier, title: String = "", selectedTitle: String = "", selectionMode: StylishTransferSelectionMode = StylishTransferSelectionMode.Multiple)

Controlled transfer overload using a single hoisted state object and pure actions. This allows selection/highlight state to be persisted or shared with a store.