Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Except example 1 given on home screen, nothing works #38

Open
praveen-tripathi opened this issue Jan 14, 2019 · 0 comments
Open

Except example 1 given on home screen, nothing works #38

praveen-tripathi opened this issue Jan 14, 2019 · 0 comments

Comments

@praveen-tripathi
Copy link

Hi,

I tried almost all possible options given on home screen(examples), except first option nothing is working for me. NoPrint simply hiding everything even in screen mode also. I have used it like this:

const myComponent = () => {
 return(
  <PrintProvider>
  <Print name="abc">                        
    ...                                     
      <div>                               
        ...                              
          <NoPrint>
            <Header/>                     
          </NoPrint>
         <Print single name="printable">
             <div>Test conentt</div>
         </Print>
   </div>
   </Print>
  </PrintProvider>
)
}

Header is getting hidden even in screen mode also.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant