We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0be8708 commit 2e65018Copy full SHA for 2e65018
packages/router/src/Set.tsx
@@ -8,7 +8,7 @@ type SetProps<P> = (P extends React.FC ? React.ComponentProps<P> : unknown) & {
8
* A react component that the children of the Set will be wrapped
9
* in (typically a Layout component)
10
*/
11
- wrap?: P
+ wrap?: P | P[]
12
/**
13
*`Routes` nested in a `<Set>` with `private` specified require
14
* authentication. When a user is not authenticated and attempts to visit
0 commit comments