fix(note): update invariant to check inline control constructor
fix(note): update invariant to check inline control constructor

Updates the invariant for the `inlineControl` prop to check if  the passed component's constructor,
rather than its string name, is `ActionPopover`.

fix #3208

Sage/carbon,Sage/carbon,Sage/carbon