# @brix-ui/contexts

Package of some useful helper React contexts.

---

## Installation

```shell script
npm i @brix-ui/contexts # react react-dom
```

```shell script
yarn add @brix-ui/contexts # react react-dom
```

> Make sure to have `react` and `react-dom` installed in your package as they are included in our peer dependencies.

## Usage

Each context function in this package is exported by default along with its own hook:

```typescript jsx
import Modal, { useModal } from '@brix-ui/contexts/modal';
```
