@bf2/ui-shared
Advanced tools
Comparing version 0.0.6 to 0.0.7
@@ -10,4 +10,4 @@ import React from "react"; | ||
export declare type Alert = { | ||
addAlert: (message: string, variant?: AlertVariant) => Promise<string>; | ||
addAlert: (message: string, variant?: AlertVariant) => void; | ||
}; | ||
export declare const AlertContext: React.Context<Alert | undefined>; |
{ | ||
"name": "@bf2/ui-shared", | ||
"version": "0.0.6", | ||
"version": "0.0.7", | ||
"description": "UI Shared contains a number of type definitions for shared data structures for the UI.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -13,5 +13,5 @@ import React from "react"; | ||
export type Alert = { | ||
addAlert: (message: string, variant?: AlertVariant) => Promise<string> | ||
addAlert: (message: string, variant?: AlertVariant) => void | ||
} | ||
export const AlertContext: React.Context<Alert | undefined> = React.createContext<Alert | undefined>(undefined); |
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
8097