FromOptions
Options of the hooks that take a route id.
Options of the hooks that take a route id.
Import#
ts
import type { FromOptions } from "@shadow-js/router";
Signature#
ts
interface FromOptions<P extends RegisteredPath> {
/** A route id. Typed by the registered paths. */
readonly from?: P;
}
Members#
| Name | Type | Description |
|---|---|---|
P |
P extends RegisteredPath |
|
from? |
readonly from?: P |
A route id. Typed by the registered paths. |