Incorporating the react-flip-page npm package to add animation to a book on my web application has been exciting. However, I've encountered an issue with adjusting the width when using media queries due to the available props for setting size and color of the page.
<FlipPage
uncutPages="true"
showSwipeHint="true"
pageBackground="rgb(230, 216, 95)"
className="flipPageComponent"
width="500"
height="500"
orientation="horizontal"
>
{pagesList}
</FlipPage>
Despite trying to assign a className, the width and height of the component stubbornly remain at 500px. This poses a challenge when attempting to adjust these dimensions for mobile screens, for instance.
If anyone can offer guidance on this matter, it would be greatly appreciated.