devtools icon indicating copy to clipboard operation
devtools copied to clipboard

Consolidate getActiveBreakpoint()

Open photodow opened this issue 4 years ago • 0 comments

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

photodow avatar Oct 02 '20 14:10 photodow