Created
February 26, 2022 09:41
-
-
Save mohdashraf010897/7d1424e0d7c66052a2c096beac6925ea to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<MultiDataList | |
componentId="language-list" | |
dataField="original_language.keyword" | |
className="language-filter" | |
size={100} | |
sortBy="asc" | |
queryFormat="or" | |
selectAllLabel="All Languages" | |
showCheckbox={true} | |
showSearch={true} | |
placeholder="Search for a language" | |
react={{ | |
and: [ | |
"mainSearch", | |
"results", | |
"date-filter", | |
"RangeSlider", | |
"genres-list", | |
"vote-average-list", | |
], | |
}} | |
data={[ | |
{ | |
label: "English", | |
value: "en", | |
}, | |
{ | |
label: "Chinese", | |
value: "zh", | |
}, | |
{ | |
label: "Turkish", | |
value: "tr", | |
}, | |
{ | |
label: "Swedish", | |
value: "sv", | |
}, | |
{ | |
label: "Russian", | |
value: "ru", | |
}, | |
{ | |
label: "Portuguese", | |
value: "pt", | |
}, | |
{ | |
label: "Korean", | |
value: "ko", | |
}, | |
{ | |
label: "Japanese", | |
value: "ja", | |
}, | |
{ | |
label: "Italian", | |
value: "it", | |
}, | |
{ | |
label: "Hindi", | |
value: "hi", | |
}, | |
{ | |
label: "French", | |
value: "fr", | |
}, | |
{ | |
label: "Finnish", | |
value: "fi", | |
}, | |
{ | |
label: "Spanish", | |
value: "es", | |
}, | |
{ | |
label: "Deutsch", | |
value: "de", | |
}, | |
]} | |
showFilter={true} | |
filterLabel="Language" | |
URLParams={false} | |
innerClass={{ | |
label: "list-item", | |
input: "list-input", | |
}} | |
/> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment