-
Notifications
You must be signed in to change notification settings - Fork 1
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
add mobile detect and create pdf mobile component #24
Conversation
} | ||
} | ||
|
||
export default ElementQueryHock()(PdfStepMobile); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like you're not using ElementQueryHock() anymore, can you please remove it?
return <Box spruceName="PdfStep"> | ||
<Box className="PdfStep_document"> | ||
<Text element="p" modifier="block center"> | ||
The module has detected that you are using a mobile device. <br/>You can view the PDF document by clicking on the button below. <br/> Once you have read the document, please navigate back to this page to continue the module. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instead of " The module has detected...", can we say "We've detected..."?
//@flow | ||
import React from 'react'; | ||
import type {Element} from 'react'; | ||
import ElementQueryHock from 'stampy/lib/hock/ElementQueryHock'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you're not using ElemenetQueryHock could you please remove it?
No description provided.