Skip to content

use/usePrinting

Overview

Returns a readonly boolean ref that is true when the browser is in print mode, updated via the print media query.

Methods

  • usePrinting - Returns a readonly ref that is true when the browser is rendering for print.

Types

PrintingState

PrintingState = DeepReadonly

Source

client/lib/use/usePrinting.js:1

Documents matching: server v3.0.0a1.post1client v3.0.0-alpha.2