ConsenSysMesh / rimble-ui

React components that implement Rimble's Design System.
https://rimble.consensys.design/
MIT License
463 stars 67 forks source link

Textarea component creates <input> element instead of <textarea> #451

Open tobek opened 4 years ago

tobek commented 4 years ago

Describe the bug

Textarea component creates <input> element instead of <textarea>

To Reproduce

Using following example code from https://rimble.consensys.design/components/rimble-ui/Textarea

<Textarea placeholder="Start typing..." rows={4} />

the resulting HTML is:

<input placeholder="Start typing..." rows="4" height="auto" color="text" font-size="1rem" class="Box__StyledBox-ha1bw0-0 Input__StyledInput-vwozih-0 koSlV">

Expected behavior

It should be a <textarea> element

Rimble UI Version