@tarve/router 0.9.0 → 0.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/src/view.ts +2 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tarve/router",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.11.0",
|
|
4
4
|
"description": "Stack and tab navigation for Tarve apps: typed path params, <RouterView>, <Link>, back keys and native screen transitions",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"keywords": [
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"README.md"
|
|
35
35
|
],
|
|
36
36
|
"peerDependencies": {
|
|
37
|
-
"@tarve/core": "^0.
|
|
37
|
+
"@tarve/core": "^0.11.0"
|
|
38
38
|
},
|
|
39
39
|
"engines": {
|
|
40
40
|
"bun": ">=1.4.0",
|
package/src/view.ts
CHANGED
|
@@ -170,7 +170,8 @@ export function TabRouterView({ router, placement = "bottom", id, style, ...rest
|
|
|
170
170
|
});
|
|
171
171
|
}
|
|
172
172
|
|
|
173
|
-
export interface LinkProps extends Omit<PressableProps, "onClick" | "control"> {
|
|
173
|
+
export interface LinkProps extends Omit<PressableProps, "onClick" | "control" | "children"> {
|
|
174
|
+
children?: Child;
|
|
174
175
|
/** A path: `/users/42?tab=posts`. */
|
|
175
176
|
to: string;
|
|
176
177
|
replace?: boolean;
|