1.0.1 • Published 3 years ago

@acolorbright/react-hooks v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

@acolorbright/react-hooks

ACB's package for reusable React hooks

Installation

npm install -E @acolorbright/react-hooks

Usage

After installing import the hooks you need, for example:

import { useMediaQuery } from '@acolorbright/react-hooks

The following hooks are available:

  • useAxeReact - Implements Axe during development
  • useKeyboardFocus - Adds class for keyboard focus styling
  • useMediaQuery - Provides media query interface to JS
  • useScrollLock - Implements CSS class control for scroll locking
  • useScrollPosition - Provides window scroll coordinates
  • useTabPanelInterface - Adds keyboard and mouse controls for tab panel interface
1.0.1

3 years ago

1.0.0

3 years ago