Guest User

Untitled

a guest
Nov 13th, 2018
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. // In utils
  2. export const testFunc = id => {
  3. return console.log(id);
  4. };
  5.  
  6. // In Compoennt Also you could add dispath via context API
  7. oneClickModal(id) {
  8. return testFunc(id);
  9. }
Add Comment
Please, Sign In to add comment