Using react/lib/emptyfunction for setting default prop values which are functions but not mandatory