TransferList API
import { TransferList } from '@editora/ui-react';
Props
| Prop | Type | Description |
|---|---|---|
addActionLabel | string | |
availableEmptyLabel | string | |
availableLabel | string | |
description | string | |
disabled | boolean | |
elevation | TransferListElevation | |
error | string | |
label | string | |
name | string | |
onChange | (detail: TransferListChangeDetail) => void | |
onValueChange | (value: string[]) => void | |
options (required) | TransferListOption[] | |
radius | number | string | |
removeActionLabel | string | |
selectedEmptyLabel | string | |
selectedLabel | string | |
selectionIndicator | TransferListSelectionIndicator | |
showActionCounts | boolean | |
showActionLabels | boolean | |
showPanelCounts | boolean | |
size | TransferListSize | |
tone | TransferListTone | |
value | string[] | |
variant | TransferListVariant |
Also accepts the standard HTML and React props of the element it renders (className, style, id, aria-*, data-*, event handlers).
Element: <ui-transfer-list>
TransferList renders the ui-transfer-list custom element from @editora/ui-core, which can also be used without React.
Attributes: add-action-label, available-empty-label, available-label, description, disabled, elevation, error, label, name, options, radius, remove-action-label, selected-empty-label, selected-label, selection-indicator, show-action-counts, show-action-labels, show-panel-counts, size, tone, value, variant
Events: change