@restlessbit/aria-button
    TypeScript icon, indicating that this package has built-in type declarations

    1.0.5 • Public • Published

    @restlessbit/aria-button

    Accessible Aria Button component for React, based on the ARIA button role docs in MDN.

    Installation

    yarn add @restlessbit/aria-button
    

    Usage

    import AriaButton from '@restlessbit/aria-button'
     
    function CoolAccessibleReactApplication () {
      return (
        <AriaButton onClick={() => alert('sick!')}>Click dis with your mouse, or use your keyboard if you would prefer!</AriaButton>
      )
    }

    Running the example

    yarn example

    Running tests

    yarn test

    Install

    npm i @restlessbit/aria-button

    DownloadsWeekly Downloads

    0

    Version

    1.0.5

    License

    MIT

    Unpacked Size

    24.7 kB

    Total Files

    5

    Last publish

    Collaborators

    • restlessbit