Last active
January 16, 2019 11:43
-
-
Save ryyppy/8950f64ac081c9a50c1e064190f57ca2 to your computer and use it in GitHub Desktop.
GenType variants example
This file contains hidden or 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 * as ReactDOM from "react-dom"; | |
import * as React from "react"; | |
import SidebarNavLink, {imagesIcon} from "./SidebarNavLink.gen"; | |
const Main = () => ( | |
<div> | |
<SidebarNavLink navLinkIcon={imagesIcon} /> | |
</div> | |
); | |
ReactDOM.render(React.createElement(Main), document.getElementById("index")); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment