Guest User

Untitled

a guest
Mar 24th, 2018
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. import React, { Component } from "react";
  2.  
  3. export default class Parent extends Component {
  4. constructor() {
  5. super();
  6.  
  7. this.state = {
  8. sourceName: null,
  9. contryCode: null
  10. }
  11. }
  12.  
  13. render() {
  14. return (
  15. <div>
  16. <Filters {...this.state} />
  17. <News {...this.state} />
  18. </div>
  19. )
  20. }
  21. }
Add Comment
Please, Sign In to add comment