New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

react-simple-dialogs

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-simple-dialogs - npm Package Compare versions

Comparing version 1.2.2 to 1.2.3

4

dist/lib/dialogs/simple-alert.d.ts
import { DialogProps } from '../utils';
export type AlertOptions = DialogProps<{
export type AlertProps = DialogProps<{
closeLabel?: string;
}>;
export declare const simpleAlert: (props: AlertOptions) => Promise<void>;
export declare const simpleAlert: (props: AlertProps) => Promise<void>;
//# sourceMappingURL=simple-alert.d.ts.map
import { DialogProps } from '../utils';
export type ConfirmOptions = DialogProps<{
export type ConfirmProps = DialogProps<{
cancelLabel?: string;
confirmLabel?: string;
}>;
export declare const simpleConfirm: (props: ConfirmOptions) => Promise<boolean>;
export declare const simpleConfirm: (props: ConfirmProps) => Promise<boolean>;
//# sourceMappingURL=simple-confirm.d.ts.map

@@ -1,4 +0,3 @@

import { PromptResult } from 'src/components/dialogs/prompt';
import { DialogProps } from '../utils';
export type PromptOptions = DialogProps<{
export type PromptProps = DialogProps<{
cancelLabel?: string;

@@ -8,3 +7,3 @@ confirmLabel?: string;

}>;
export declare const simplePrompt: (props: PromptOptions) => Promise<PromptResult>;
export declare const simplePrompt: (props: PromptProps) => Promise<string | null>;
//# sourceMappingURL=simple-prompt.d.ts.map

@@ -1,6 +0,6 @@

export { simpleAlert, type AlertOptions } from './dialogs/simple-alert';
export { simpleConfirm, type ConfirmOptions } from './dialogs/simple-confirm';
export { simpleAlert } from './dialogs/simple-alert';
export { simpleConfirm } from './dialogs/simple-confirm';
export { simpleModal } from './dialogs/simple-modal';
export { simplePrompt, type PromptOptions } from './dialogs/simple-prompt';
export { simplePrompt } from './dialogs/simple-prompt';
export { SimpleDialogContainer } from './simple-dialog-container';
//# sourceMappingURL=index.d.ts.map
{
"name": "react-simple-dialogs",
"private": false,
"version": "1.2.2",
"version": "1.2.3",
"author": "Pedro Henrique Pires",

@@ -6,0 +6,0 @@ "license": "MIT",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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