Created
September 25, 2018 15:34
-
-
Save jonathanharrell/c9ba912741f57904f42704527e5f3797 to your computer and use it in GitHub Desktop.
Accordion Item Context
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
const AccordionItemContext = React.createContext({ | |
expanded: false, | |
toggleExpansion: () => {} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment