Set the initial rotation

The rotate plugin provides buttons to rotate the document clockwise or counterclockwise.
However, it is possible to rotate a document initially without using the plugin. Just simply pass the `initialRotation` option:
import { Viewer } from '@react-pdf-viewer/core';
<Viewer initialRotation={90} defaultScale={1} />;
The value has to be divisible by 90.

See also