Skip to content

Instantly share code, notes, and snippets.

@anton-gorbikov
Created Feb 1, 2020
Embed
What would you like to do?
fable-routing-switch
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