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

@interop-ui/react-alert-dialog

Package Overview
Dependencies
Maintainers
4
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@interop-ui/react-alert-dialog - npm Package Compare versions

Comparing version 0.0.1-13 to 0.0.1-14

10

package.json
{
"name": "@interop-ui/react-alert-dialog",
"version": "0.0.1-13",
"version": "0.0.1-14",
"license": "MIT",

@@ -20,6 +20,6 @@ "source": "src/index.ts",

"dependencies": {
"@interop-ui/react-dialog": "0.0.1-15",
"@interop-ui/react-polymorphic": "0.0.1-1",
"@interop-ui/react-utils": "0.0.1-14",
"@interop-ui/utils": "0.0.1-6"
"@interop-ui/react-dialog": "0.0.1-16",
"@interop-ui/react-polymorphic": "0.0.1-2",
"@interop-ui/react-utils": "0.0.1-15",
"@interop-ui/utils": "0.0.1-7"
},

@@ -26,0 +26,0 @@ "devDependencies": {

@@ -13,31 +13,2 @@ # `react-alert-dialog`

```js
import * as React from 'react';
import {
AlertDialog,
AlertDialogTrigger,
AlertDialogOverlay,
AlertDialogContent,
AlertDialogTitle,
AlertDialogDescription,
AlertDialogAction,
AlertDialogCancel,
} from '@interop-ui/react-alert-dialog';
function MyComponent() {
return (
<AlertDialog>
<AlertDialogTrigger>Delete everything</AlertDialogTrigger>
<AlertDialogOverlay />
<AlertDialogContent>
<AlertDialogTitle>Are you sure?</AlertDialogTitle>
<AlertDialogDescription>
This will do a very dangerous thing. Thar be dragons!
</AlertDialogDescription>
<AlertDialogAction onClick={deleteFiles}>Delete them</AlertDialogAction>
<AlertDialogCancel>Never mind</AlertDialogCancel>
</AlertDialogContent>
</AlertDialog>
);
}
```
View docs [here](https://radix-ui.com/primitives/docs/components/alert-dialog).

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