Guest User

Untitled

a guest
Nov 19th, 2017
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. import React from 'react';
  2. import SuccessDisplay from './SuccessDisplay';
  3.  
  4. //...
  5.  
  6. render() {
  7. const { isPostFulfilled } = this.props;
  8. return (
  9. <div>
  10. //render your component how you wish
  11. {isPostFulfilled && <SuccessDisplay />}
  12. //...
  13. </div>
  14. );
  15. }
  16.  
  17. //...
Add Comment
Please, Sign In to add comment