-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
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?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels