+1
-1
| { | ||
| "name": "abp-react", | ||
| "version": "1.0.7", | ||
| "version": "1.0.8", | ||
| "description": "ABP-REACT is a versatile React library that provides convenient tools and utilities for integrating with the ABP (ASP.NET Boilerplate) framework in your React applications.", | ||
@@ -5,0 +5,0 @@ "module": "dist/index.js", |
+3
-1
@@ -67,3 +67,3 @@ # Abp-React | ||
| function UserProfile() { | ||
| const user = useUser(); | ||
| const user = useUser<MyUserType>(); | ||
@@ -74,2 +74,4 @@ // Access user information | ||
| For simplicity you can create an abstraction over the useUser hook. If no user type is provided useUser will return ANY. | ||
| ### 4. Authentication | ||
@@ -76,0 +78,0 @@ |
137771
0.1%131
1.55%