Skip to content

Commit

Permalink
There's no directive info, so use note instead.
Browse files Browse the repository at this point in the history
  • Loading branch information
stevepiercy committed Jan 22, 2025
1 parent 1728bd7 commit fa23dcf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/registry/docs/how-to-guides/register-routes.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ The `type`, `path`, and `file` are mandatory.
The `type` key specifies the route type to create, specifically one of `route`, `index`, `layout`, or `prefix`.
The type `route` can contain nested routes.

```{info}
```{note}
The routes registered with this method must be compliant with React Router 7 routes.
They are loaded by a helper provided by `@plone/react-router` in an existing React Router 7 app.
Check the official [React Router 7 documentation](https://reactrouter.com/start/framework/routing) for more information on how to define React Router 7 routes.
Expand Down

0 comments on commit fa23dcf

Please sign in to comment.