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

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