@brix-ui/contexts

2.2.2 • Public • Published

@brix-ui/contexts

Package of some useful helper React contexts.


Installation

npm i @brix-ui/contexts # react react-dom
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:

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

Package Sidebar

Install

npm i @brix-ui/contexts

Weekly Downloads

4

Version

2.2.2

License

MIT

Unpacked Size

12.6 kB

Total Files

21

Last publish

Collaborators

  • brix-ui