• Rect component is used to render a rectangular highlight layer within the PDF viewer. It accepts various props to customize its appearance and behavior.

    Parameters

    Returns Element

    The rendered Rect component.