Last active
October 14, 2019 18:00
-
-
Save akopcz2/a7dcb44e2f45f28860b75f011b4e6b7b 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
switch (a) { | |
case a: | |
return <Component1 /> | |
case b: | |
return <Component2 /> | |
case …z | |
return <Components 3–26 /> etc… | |
default; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment