A
A
Anton2020-09-01 22:18:16
React
Anton, 2020-09-01 22:18:16

How to make Material-UI Typography component accept line break character?

Good ...
There is a component

<Typography>Очень длинная строка с кучей символов переноса строки</Typography>
how to force it to wrap the line when a carriage return character (U-000D like) is encountered in the line?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
abberati, 2020-09-02
@abberati

Try component="pre"

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question