Guest User

Untitled

a guest
Nov 20th, 2018
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. const {Component, Fragment} = wp.element;
  2. const {__} = wp.i18n;
  3.  
  4. class Summary extends Component {
  5. constructor() {
  6. super(...arguments);
  7. }
  8.  
  9. render() {
  10. return (
  11. <div className={this.props.className}>
  12. <Summary.Content />
  13. </div>
  14. );
  15. }
  16. }
  17.  
  18. Summary.Content = function () {
  19. return (<Fragment>
  20. {
  21. __("Don't worry if you don't see anything here. This section will update with your complete list of ingredients automagically!")
  22. }
  23. </Fragment>);
  24. };
  25.  
  26. export default Summary;
Add Comment
Please, Sign In to add comment