Guest User

Untitled

a guest
Nov 15th, 2018
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. import React from 'react';
  2. import PlatFormEventComponent from "PlatFormEventComponent";
  3. /*
  4. Other required imports for our component
  5. */
  6.  
  7. export default class MyComponent1 extends PlatFormEventComponent {
  8. constructor(props) {
  9. super(props);
  10. this.name = 'myComponent1';
  11. }
  12.  
  13. updateComponent(data) {
  14. /*
  15. Hurray - We can write the code to update our component
  16. */
  17. }
  18.  
  19. /*
  20. Other required functions
  21. */
  22.  
  23. render() {
  24. return {
  25. /*
  26. jsx to render
  27. */
  28. }
  29. }
  30. }
Add Comment
Please, Sign In to add comment