Created
August 16, 2018 15:14
-
-
Save maecapozzi/54fef6f0b3c0289f0d603d7a97ace4d6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from "react"; | |
const FamilyContext = React.createContext({}); | |
export const FamilyProvider = FamilyContext.Provider; | |
export const FamilyConsumer = FamilyContext.Consumer; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment