Hi, I am trying to develop a filtering table using the AtlasKit DropdownMenu component as the filter(s). The documentation is fairly good, but doesn’t really describe how to get the state of the DropdownMenu or handle when it changes. How can I update state when something has been selected? Just use an onClick handler on each of the DropdownItem components? It looks like the DropdownMenu used to utilize a method called “onItemActivated”, but this has been deprecated. The examples don’t give any indication on how we should be using this in conjunction with other components. The docs don’t seem to refer to any kind of state management either.
Thanks for your time.