I'm a beginner to React JS, so I am using react-simple-image-slider for my image slider component, but I want the image to be responsive on mobile as well, so I am trying to set the width and height using vw,vh or percentage, but it only accepts number. I think there will be an advanced concept that deals with this problem, but I don't know what is it. Any helps would be appreciated!
<div className="card_imgBox">
<SimpleImageSlider
className="card_img"
width={400}
height={300}
images={item.thumb}
showBullets={true}
showNavs={true}
/>