devtools
devtools copied to clipboard
Consolidate getActiveBreakpoint()
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