UNPKG

synapse-react-client

Version:

[![npm version](https://badge.fury.io/js/synapse-react-client.svg)](https://badge.fury.io/js/synapse-react-client) [![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettie

12 lines 489 B
/** * 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