2 Matching Annotations
  1. Oct 2020
  2. react-spectrum.adobe.com react-spectrum.adobe.com
    1. Sometimes you might need to use an element other than a native <button>. useButton supports this via the elementType prop. When used with an element other than a native button, useButton automatically applies the necessary ARIA roles and attributes to ensure that the element is exposed to assistive technology as a button.
  3. Sep 2020