Code

Props

Props
Data Type
Required

children

-Custom Components (DualListContent, DualListContentItem, DualListContentSelector, DualListFilter)

βœ…

className

string

❌

type

'Source' | 'Target'

❌

title

string

❌

selectedItemsTitle

string

❌

selectedItemsCount

string | number

❌

btnText

string

❌

btnAction

function

❌

Children

To generate the structure required for the DualList, the developer is able to insert the following components as children elements:

DualListContentFilter

Props
Data Type
Required

className

string

❌

children

Search component

βœ…

DualListContent

Props
Data Type
Required

className

string

❌

children

-DualListContentItem -DualListContentSelector

βœ…

DualListContentSelector

Props
Data Type
Required

className

string

❌

id

string

βœ…

label

string

βœ…

children

Search component

βœ…

onClick

Function

❌

DualListContentItem

Props
Data Type
Required

className

string

❌

id

string

βœ…

checked

boolean

βœ…

children

Search component

βœ…

onClick

Function

❌

Example

Last updated