How to change line-height
in textarea
?
#4624
-
https://codesandbox.io/s/silly-shannon-bohqz2?file=/src/App.js |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
Why are you trying to change these? This component is implementing and enforcing Spectrum design. If you're from outside Adobe, I suggest using our hooks or the new React Aria Components so you can control the rendering to meet your needs. https://react-spectrum.adobe.com/react-aria/index.html |
Beta Was this translation helpful? Give feedback.
-
like in |
Beta Was this translation helpful? Give feedback.
-
Hi, First of all, I apologize for the late reply (UTC+7) I mean I can't use the |
Beta Was this translation helpful? Give feedback.
That is the Spectrum component. It's imported from
@adobe/react-spectrum
or@react-spectrum/textfield
Every component in those two scopes, @adobe and @react-spectrum, are Spectrum components https://react-spectrum.adobe.com/react-spectrum/index.html
The alternative is to make your own textarea using our hooks or react aria components, https://react-spectrum.adobe.com/react-aria/useTextField.html and the react aria component one is coming #4595