Created
January 11, 2019 10:41
-
-
Save daniele-zurico/35237db3c83b12a24c44acd662e2ca01 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
<TabSwitcher> | |
<Tab id="a"> | |
<button>a</button> | |
</Tab> | |
<Tab id="b"> | |
<button>b</button> | |
</Tab> | |
<TabPanel whenActive="a"> | |
<div>a panel</div> | |
</TabPanel> | |
<TabPanel whenActive="b"> | |
<div>b panel</div> | |
</TabPanel> | |
</TabSwitcher> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment