Skip to content

usePrinting ​

Overview ​

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

Signature ​

usePrinting()

Returns ​

Readonly

A readonly ref tracking the print media query state.

Source ​

client/lib/use/usePrinting.js:16