Answer the question
In order to leave comments, you need to log in
How to change the content in react depending on the size of the block?
There is a button (react-router Link). It is necessary that if it occupies> 100px in width, there should be content "text img", and if <= 100px, then "img". How to do it? The question seems to be simple, but I did not find a solution.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question