I'm having trouble with the Polaris documentation. For example a Text Field with an ActionLabel (this is by far not the only instance). The doco doesn't seem to show how to place an action on the click of the action label. It really only just shows how to display it. I tried in various ways trying to add an onClick event but nothing seems to work.
On many controls it seems the be defined e.g. onClick, onChange directly on the control, but this is a secondary associated control.
I'm new to React and Polaris so am I missing something? Is there something I should know about invoking actions/event on controls like this? Is there somewhere else I should be seeking information about how to use Polaris components?