Package Exports
- @real-system/aria-button
- @real-system/aria-button/lib/index.esm.js
- @real-system/aria-button/lib/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@real-system/aria-button) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@real-system/aria-button
Button accessibility hook for real system.
Usage
# install peer dependencies
# npm
$ npm install react react-dom
# yarn
$ yarn add react react-dom
# install aria-button
# npm
$ npm install @real-system/aria-button
# yarn
$ yarn add @real-system/aria-buttonCode Example
import { useButton } from '@real-system/aria-button';
...