You may pass this props to every dynamic component of your page, that needs to be adapted for printing. In this case, the isPrintable props will determine whether to display the 3 tabs, or just the first one. Something like displaying the tabs one after the other may do the trick:Ĭonst tabNames = (isPrintable ? ![]() For example, if you have a table with 3 tabs, you will probably want to display the content of all the tabs. If you opt for the second solution (that is less costly), you will have to adapt your existing components. ![]()
0 Comments
Leave a Reply. |