carbon-design-system / carbon-design-system/devtools

Consolidate getActiveBreakpoint()

Open
#34 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.