O
O
Olga2018-04-13 14:08:12
React
Olga, 2018-04-13 14:08:12

How to display the required number of images?

How it is possible to implement rendering of a certain number of pictures, depending on the parameter? That is, for example, you need to display 2, 3, 4 pictures in a row. Like countInView: [2, 3, 4] where [2, 3,4 ] are options options

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ilya, 2018-04-13
@ilyapashkov02

You can divide 100% by countInView and set the width through style

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question