okp4 / ui

🎨 Implementation of OKP4 UI components in React, TypeScript, and SASS.
https://ui.okp4.space/
BSD 3-Clause "New" or "Revised" License
28 stars 2 forks source link

Make useBreakpoint hook customizable #655

Closed JoeyDjr closed 1 year ago

JoeyDjr commented 1 year ago

Provide a non-visual feature

Feature

The goal is to make the useBreakpoint hook evolve so that it accepts an argument allowing to define the desired breakpoint. This way, the user will be able to keep control by using the library hook, and without using useMediaType.