Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import React from 'react';
- import SuccessDisplay from './SuccessDisplay';
- //...
- render() {
- const { isPostFulfilled } = this.props;
- return (
- <div>
- //render your component how you wish
- {isPostFulfilled && <SuccessDisplay />}
- //...
- </div>
- );
- }
- //...
Add Comment
Please, Sign In to add comment