Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@bf2/ui-shared

Package Overview
Dependencies
Maintainers
3
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bf2/ui-shared - npm Package Compare versions

Comparing version 0.0.6 to 0.0.7

2

dist/alert/Alert.d.ts

@@ -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);
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc