Skip to content

Commit d7fb6d5

Browse files
authored
Update demo
1 parent c3e2773 commit d7fb6d5

File tree

1 file changed

+11
-0
lines changed
  • components/molecule/autosuggest/demo/ArticleMultipleSelection

1 file changed

+11
-0
lines changed

components/molecule/autosuggest/demo/ArticleMultipleSelection/index.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,17 @@ const ArticleMultipleSelection = () => {
4040
multiselection
4141
disabled
4242
/>
43+
<H3>With Right Icon and onClick handler</H3>
44+
<MoleculeAutosuggestWithStateTags
45+
placeholder="Type a Country name..."
46+
onChangeTags={(_, {tags, ...args}) => console.log('onChangeTags', {tags, ...args})}
47+
iconCloseTag={iconClose}
48+
rightIcon={iconSearch}
49+
onClickRightIcon={(ev, args) => {
50+
console.log('Right icon clicked!', args)
51+
}}
52+
multiselection
53+
/>
4354
</Article>
4455
)
4556
}

0 commit comments

Comments
 (0)