Advertisement
Guest User

Untitled

a guest
Apr 22nd, 2019
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. ### Argument Name
  2. GOOD
  3. ```
  4. const WarehousingUpdateMutation: React.FunctionComponent<{
  5. data: IWarehousingQuery,
  6. closeModal: any
  7. }>
  8. ```
  9. BAD
  10. ```
  11. const WarehousingUpdateMutation: React.FunctionComponent<{
  12. warehousing: IWarehousingQuery,
  13. closeModal: any
  14. }>
  15. ```
  16. Reason: it is easier to create some **generic** components later
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement