We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Your way of how to use:
var React = require('react'); var ReactDOM = require('react-dom'); var PointerTools = require('react-mouse-pointer-tools'); var rootElement = document.body.getElementById("wrapper"); ReactDOM.render( <PointerTools color="pink" showRulers={true} />, rootElement );
FCScripters way:
After installation add the following to your main js file i.e. app.js var Countdown = require('react-the-final-countdown'); And add the Countdown component where you are returning your HTML: <Countdown min = {3} msg ="Close the bloody fridge" afterUnmount = {this.afterUnmount}/>
I can't work out which way is correct or if they both are?
The text was updated successfully, but these errors were encountered:
Sorry, raised issues on the other repo by accident. I think that:
Either make clear you are dealing with the dom or change code to be added to react project itself. It took me ten minutes to see the magic.
eg var rootElement = document.body.getElementById("wrapper"); ReactDOM.render( , rootElement );
or var rootElement = document.getElementById("wrapper");
React.render( , );
Sorry, something went wrong.
No branches or pull requests
Your way of how to use:
FCScripters way:
I can't work out which way is correct or if they both are?
The text was updated successfully, but these errors were encountered: