buildo / react-components

Collection of general React components used in buildo projects.
http://react-components.buildo.io/
MIT License
157 stars 21 forks source link

Can't override the style of FormField's view #1300

Closed veej closed 5 years ago

veej commented 5 years ago

Project card

description

style passed to viewProps is ignored by FormField.

how to reproduce

<FormField
   {...}
   viewProps={{
      style: { background: 'red' }
   }}
/>

red background is not applied

specs

We should merge the style flex-direction: row-reverse with the style passed in viewProps.

misc

{optional: other useful info}