/react-aria-button

React component that correctly uses the ARIA button role

Primary LanguageTypeScriptMIT LicenseMIT

React ARIA button

Complete ARIA button built in React, for use when an HTML button is not an option.

Installation

Yarn

yarn add react-aria-button

npm

npm install react-aria-button

Usage

import Button from 'react-aria-button'

export default () => <Button onClick={() => {}}>Press</Button>

Resources