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

When you tell them to supply the props it might be worth having some example syntax to show exactly how that works. #10

Open
Joshua-Ronan-Phillips opened this issue Nov 6, 2015 · 2 comments
Assignees

Comments

@Joshua-Ronan-Phillips
Copy link

When you tell them to supply the props it might be worth having some example syntax to show exactly how that works.

@hdrdavies
Copy link
Contributor

@Joshua-Ronan-Phillips we have that in our readme?

@Joshua-Ronan-Phillips
Copy link
Author

I meant something like this: 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" afterTimeOut = {this.afterTimeOut}/>

Sorry I didn't explain properly in the first issue above.

@hdrdavies hdrdavies assigned hdrdavies and Jbarget and unassigned hdrdavies Nov 9, 2015
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

3 participants