Functions: createRouterPlugin()
ts
function createRouterPlugin<TRoutes, TRejections>(plugin): RouterPlugin<TRoutes, TRejections>
Type Parameters
Type Parameter | Default type |
---|---|
TRoutes extends Routes | [] |
TRejections extends Record <string , Component > | object |
Parameters
Parameter | Type |
---|---|
plugin | Partial <RouterPlugin <TRoutes , TRejections >> |
Returns
RouterPlugin
<TRoutes
, TRejections
>