Integrating the Accessibility Widget into React projects.
The following instructions describe installation, configuration, and basic use.
A detailed description of the methods can be found in the base package documentation.
1. Installing the package
Using NPM:
npm install @dockcodes/accessibility-widget-react
or Yarn:
yarn add @dockcodes/accessibility-widget-react
2. Basic use
To use a widget in React, wrap your app in the <AccessibilityProvider> component.
Then use the useAccessibility() hook to access the widget instance and its status.