Skip to content

Commit dcd0661

Browse files
committed
add customized multiple select example and reoganized others
1 parent 7525d9a commit dcd0661

File tree

1 file changed

+40
-1
lines changed

1 file changed

+40
-1
lines changed

examples/App.tsx

Lines changed: 40 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,46 @@ const EXAMPLES: ExampleProps[] = [{
1414
title: "Multiple Select Badge Mode",
1515
description: "Multiple select example - with badges",
1616
multiple: true,
17-
dropdownProps: {mode: "BADGE"},
17+
dropdownProps: {mode: "BADGE", showBadgeDot: false},
18+
},{
19+
title: "Multiple Select Badge Mode with Dots",
20+
description: "Multiple select example - with badges and dots",
21+
multiple: true,
22+
dropdownProps: {mode: "BADGE", showBadgeDot: true},
23+
},{
24+
title: "Customized Multiple Select Badge Mode",
25+
description: "Multiple select example - with badges",
26+
multiple: true,
27+
dropdownProps: {
28+
mode: "BADGE",
29+
showBadgeDot: false,
30+
badgeDotStyle: {},
31+
badgeColors: '#d5c4a1', // Badge Colors currentlly overwites badgeStyle background color
32+
placeholderStyle: {color: '#83a598'},
33+
badgeStyle: {
34+
// background: '#d5c4a1',
35+
borderColor: '#282828',
36+
borderWidth: 2,
37+
borderStyle: 'solid',
38+
},
39+
badgeTextStyle: {
40+
color: '#282828'
41+
},
42+
style: {
43+
backgroundColor: '#fbf1c7',
44+
borderColor: '#b16286',
45+
cursor: 'pointer'
46+
},
47+
customItemContainerStyle: {
48+
},
49+
listItemContainerStyle: {
50+
backgroundColor: '#fbf1c7',
51+
borderColor: '#b16286'
52+
},
53+
listItemLabelStyle: {
54+
color: '#b16286'
55+
},
56+
},
1857
},{
1958
title: "Autoscroll Example",
2059
description: "This is the default dropdown picker - with autoscroll",

0 commit comments

Comments
 (0)