Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- category: "sample category",
- API: "API URL",
- active: function()
- }
- function() {
- this.setState({categoryActive: "https://opentdb.com/api.php?amount=20&category=11"});
- this.setState({showQuestions: true});
- }
Add Comment
Please, Sign In to add comment