grommet-designer icon indicating copy to clipboard operation
grommet-designer copied to clipboard

Add ResponsiveContext

Open ericsoderberghp opened this issue 5 years ago • 0 comments

Allow adding ResponsiveContext such that designs can show responsive behavior.

Have to think about what's the best way to represent this. One generally uses ResponsiveContext.Consumer to get the current breakpoint and then change the underlying layout and/or properties based on the breakpoint.

One idea would be to enable a breakpoint feature on any component. When enabled, it would allow the designer to customize properties and children based on breakpoint.

ericsoderberghp avatar Jul 25 '19 18:07 ericsoderberghp