Skip to content

Instantly share code, notes, and snippets.

@Sergioamjr
Created May 22, 2021 17:01
Show Gist options
  • Save Sergioamjr/4c3f5d82a43b65f422ddb796c3486475 to your computer and use it in GitHub Desktop.
Save Sergioamjr/4c3f5d82a43b65f422ddb796c3486475 to your computer and use it in GitHub Desktop.
import { UserContextProvider } from "~hooks/useUserContext";
import UserInfo from "./UserInfo";
export default function App() {
return (
<UserContextProvider value="John">
<UserInfo />
</UserContextProvider>
);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment