@bf2/ui-shared
Advanced tools
Comparing version 0.0.7 to 0.0.8
import React from "react"; | ||
export declare type Auth = { | ||
getToken: () => Promise<string>; | ||
getUsername: () => Promise<string>; | ||
}; | ||
export declare const AuthContext: React.Context<Auth | undefined>; |
{ | ||
"name": "@bf2/ui-shared", | ||
"version": "0.0.7", | ||
"version": "0.0.8", | ||
"description": "UI Shared contains a number of type definitions for shared data structures for the UI.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -5,4 +5,5 @@ import React from "react"; | ||
getToken: () => Promise<string> | ||
getUsername: () => Promise<string> | ||
} | ||
export const AuthContext: React.Context<Auth | undefined> = React.createContext<Auth | undefined>(undefined); |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8176
169