Skip to content

Commit

Permalink
[REVERT ME] Docs example
Browse files Browse the repository at this point in the history
  • Loading branch information
cee-chen committed Dec 15, 2022
1 parent 88c3630 commit 7346ee4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src-docs/src/views/selectable/selectable_exclusion.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,10 @@ export default () => {
aria-label="Example of Selectable supporting exclusions"
allowExclusions
options={options}
onChange={(newOptions) => setOptions(newOptions)}
onChange={(newOptions, event, changedOption) => {
setOptions(newOptions);
console.log({ newOptions, event, changedOption });
}}
>
{(list) => list}
</EuiSelectable>
Expand Down

0 comments on commit 7346ee4

Please sign in to comment.