title: Pass function with parameters in context provider
body: <p>I am starting on React and I am finding it difficult to implement the email and password in the context.</p>
  <p>The example I'm following only shows no parameters.</p>
  <p>Ty for any help</p>
  <pre><code>async function signIn(email: string, password: string) {
          const response = await auth.signIn(email, password);
      }
      
      
       return (
          &lt;AuthContext.Provider
            value={{signed: !!user, 
              user: user, loading, 
              signIn: signIn(), 
              logout}}&gt;
            {children}
          &lt;/AuthContext.Provider&gt;
        );
  </code></pre>