Skip to content

Commit 0d0cd75

Browse files
committed
Update App.js
1 parent 8d930c7 commit 0d0cd75

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

example/src/App.js

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ const App = () => {
1515
}
1616

1717
const options = [
18-
{ label: <div style={customStyle}><h1>Title</h1><span>🔥</span></div>, value: 'option_1', title: 'option_1' },
18+
{ label: <div style={customStyle}><h1>Title</h1><span role="img" aria-label="agun">🔥</span></div>, value: 'option_1', title: 'option_1' },
1919
{ label: 'Option 2', value: '{id: 1}' },
20-
{ label: 'Option 3', value: 'option_3' },
20+
{ label: 'Select...', value: 'option_3' },
2121
{ label: 'Rf', value: 'option_4' },
2222
{
2323
title: 'group 1', type: 'group', emptyDataLabel: 'No Group Option Found', childs: [
@@ -51,6 +51,11 @@ const App = () => {
5151
onChange={handleOnchange}
5252
options={options}
5353
customValue
54+
// singleSelect
55+
// clearable={false}
56+
// disableChip
57+
onMenuOpen={() => { console.log('menu open') }}
58+
onMenuClose={() => { console.log('menu Close') }}
5459
/>
5560
</div>
5661
)

0 commit comments

Comments
 (0)