nico
Published in : 2022-03-19

React Component displaying a list of lines

React js

Hello all I look for a good component for displaying multi lines in React with automatic scroll to the bottom like a trailer.

We have a webapi which returns a multi lines string where each line is one result.

Thanks for your help

 

Comments

Mohamed Atef Date : 2022-03-19

Best answers

51

Best answers

51

Can you clarify by using screenshots? I don't understand the question

nico Date : 2022-03-19

Best answers

4

Best answers

4

I use a classic textarea which is ugly, I need a modern component to display every line with the scroll going down with each new line added.
 

Mohamed Atef Date : 2022-03-21

Ypu can use Material UI with text field component //mui.com/components/material-icons/

and you can add multi line attribute 

 it should looks like this

Good luck

Leave a comment

Join us

Join our community and get the chance to solve your code issues & share your opinion with us

Sign up Now

Related posts

TypeError: Cannot read properties of null (reading 'scrollTop') in jest
Publish date: 2022-09-08 | Comments: 1

Tag: React js

React.Fragment. React.Fragment can only have key props and children
Publish date: 2022-08-06 | Comments: 2

Tag: React js

Export 'Switch' (imported as 'Switch') was not found in 'react-router-dom'
Publish date: 2022-04-02 | Comments: 2

Tag: React js

[Solved] Cannot read properties of null (reading 'getBoundingClientRect')
Publish date: 2021-12-02 | Comments: 2

Tag: React js

React usestate array map() is not working
Publish date: 2022-04-22 | Comments: 3

Tag: React js

Module not found: Can't resolve 'swiper' in Reactjs [Solved]
Publish date: 2021-10-03 | Comments: 1

Tag: React js