playroom icon indicating copy to clipboard operation
playroom copied to clipboard

[Feature Request] Permit object syntax for widths in config

Open caseymhunt opened this issue 3 years ago • 0 comments

Feature request: Currently the widths parameter in playroom config only accepts an array. It would be excellent if an object could be passed as well.

In my use case, our component library uses named breakpoints (sm, md, etc.) which I would love to represent via the frames option in playroom.

How it could look: mockup of names in widths

caseymhunt avatar May 17 '21 23:05 caseymhunt