Skip to content

Commit 07beefa

Browse files
author
kubraturan
committed
README.md edited.
1 parent 37e9bbd commit 07beefa

1 file changed

Lines changed: 21 additions & 6 deletions

File tree

README.md

Lines changed: 21 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -412,12 +412,27 @@ import { Dropdown } from 'react-chat-elements'
412412
text: 'Dropdown',
413413
}}
414414
items={[
415-
'merhaba',
416-
'lorem',
417-
'ipsum',
418-
'dolor',
419-
'sit',
420-
'amet',
415+
{
416+
icon: {
417+
component: icon,
418+
float: 'left',
419+
color: 'red',
420+
size: 22,
421+
},
422+
text: 'lorem'
423+
},
424+
{
425+
icon: {
426+
component: icon,
427+
float: 'left',
428+
color: 'purple',
429+
size: 22,
430+
},
431+
text: 'ipsum'
432+
},
433+
{
434+
text: 'dolor'
435+
},
421436
]}/>
422437
```
423438

0 commit comments

Comments
 (0)