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

Not able to pass custom styles to component (ex. VwcTextfield) #35

Closed MateuszNaKodach closed 2 years ago

MateuszNaKodach commented 2 years ago

Hi, we need to expand TextField to 100%.

We've done it by inline style as below in React, and it works.

<VwcTextfield
            style={{ width: '100%' }}
            label="Dashboard name"
            value=""
            placeholder="Enter Dashboard name"
            outlined
            dense
          >

Issue is that, TypeScript compiler raises error, because style is not declared as components property. I propose to add style property to all components. Could you help us with that?