user image

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

46

Best answers

46

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 https://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

[solved] Expected a conditional expression and instead saw an assignment
Publish date: 2021-11-29 | Comments: 0

Tag: React js

How to update React router without Re-render?
Publish date: 2021-11-22 | Comments: 2

Tag: React js

How to use Datepick of Mui with Formik
Publish date: 2022-02-14 | Comments: 6

Tag: React js

Unexpected mix of '&&' and '||' Reactjs
Publish date: 2021-10-30 | Comments: 0

Tag: React js

React Redux : Connect is not called
Publish date: 2022-03-02 | Comments: 1

Tag: React js

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

Tag: React js

[solved] Reactjs is not updating the props
Publish date: 2022-02-04 | Comments: 2

Tag: React js