Vonage / vivid-react

Typescript friendly Reactjs :atom: wrappers/bindings for Vonage's web UI 🎨 toolbelt
https://www.npmjs.com/package/@vonage/vivid-react
5 stars 3 forks source link

VwcLayout does not respect any settings #42

Closed KB-NVM closed 2 years ago

KB-NVM commented 2 years ago

According to Vivid storybook Layout component supports settings such column-basis and column-spacing which controls how items in the grid are laid out (size of items and size of spaces between them) but the VwcLayout wrapper does not respect any of those settings, it always uses default ones.

In the DOM it looks like the values set in props are translated to wrong attributes: columnbasis vs column-basis and columnspacing vs column-spacing image

Patch file to reproduce in vivid-react's storybook: VwcLayout.txt

k-paxian commented 2 years ago

Fixed since v2.10.15