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