-
-
Save anton-gorbikov/415d702631089f161f1942799a4db5e7 to your computer and use it in GitHub Desktop.
fable-routing-switch
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
module ReactRouter.Switch | |
open Fable.Core | |
open Fable.Core.JsInterop | |
open Fable.React | |
let inline Switch (props: unit list) (elems: ReactElement list): ReactElement = | |
ofImport "Switch" "react-router-dom" (keyValueList CaseRules.LowerFirst props) elems |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment