carbon-design-system / carbon-design-system/devtools
Consolidate getActiveBreakpoint()
Open
bug
- Dominant language
- JavaScript
- Stars
- 46
- Forks
- 23
- PR merge metrics
- No merged PRs in 30d
Description
The `getActiveBreakpoint` utility is very similar to `activeBreakpoint` within `/Specs/Grid`. Is there enough overlap that these can be combined? I believe the use cases for them are slightly different, but it's worth looking into.
https://github.com/carbon-design-system/devtools/blob/908aa3e3a76286840aca4a24fe86ab2031c2e3ae/App/inject/components/Specs/Grid/index.js#L122-L144
https://github.com/carbon-design-system/devtools/blob/master/App/utilities/getActiveBreakpoint.js
Contributor guide
Assessment
This issue has not been assessed yet.