how to export multiple functions in react code example
Example 1: js export multiple functions
function foo() { console.log('foo') }
function bar() { console.log('bar') }
function baz() { foo(); bar() }
export default {foo, bar, baz}
Example 2: export multiple functions react
export default {func1,func2}