how to export a single function to multiple components in react code example Example: export multiple functions react export default {func1,func2}