TreeRouterPropsinterface
{
readonly tree: TreeElement;
readonly fallback?: ReactElement | undefined | null;
}| Property | Type | |
|---|---|---|
.tree | TreeElement | The tree of elements to match routes for. required readonly |
.fallback | ReactElementnull | Optional fallback element. - Explicit null means fallback to nothing (router will not throw NotFoundError). readonly |
Props for the TreeRouter component — the tree to route plus an optional fallback and app meta.