synapse-react-client
Version:
[](https://badge.fury.io/js/synapse-react-client) [](https://github.com/prettier/prettie
12 lines • 489 B
TypeScript
/**
* Adds a temporary style sheet to the document that hides all elements except those with the `visibleOnPrintClassName`.
*
* Also provides a `hiddenOnPrintClassName` that can be used to hide elements within the `visibleOnPrintClassName` elements.
*
* The style sheet is removed when the component unmounts.
*/
export declare function useMediaPrintOnly(): {
visibleOnPrintClassName: string;
hiddenOnPrintClassName: string;
};
//# sourceMappingURL=useMediaPrintOnly.d.ts.map