playroom
playroom copied to clipboard
[Feature Request] Permit object syntax for widths in config
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: