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

@justeattakeaway/pie-button

Package Overview
Dependencies
Maintainers
11
Versions
153
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@justeattakeaway/pie-button - npm Package Compare versions

Comparing version 0.36.0 to 0.36.1

2

package.json
{
"name": "@justeattakeaway/pie-button",
"version": "0.36.0",
"version": "0.36.1",
"description": "PIE design system button built using web components",

@@ -5,0 +5,0 @@ "type": "module",

@@ -50,17 +50,25 @@ <p align="center">

#### JavaScript
```js
// Default – for Native JS Applications, Vue, Angular, Svelte etc.
// Default – for Native JS Applications, Vue, Angular, Svelte, etc.
import { PieButton } from '@justeattakeaway/pie-button';
// If you don't need to reference the imported object, you can simply
// import the module which registers the component as a custom element.
import '@justeattakeaway/pie-button';
```
#### React
```js
// React
// For React, you will need to import our React specific component build
// Which wraps the web component using the @lit-labs/react package
// Note: When using the React version of the component, please make sure
// you also include React as a dependency in your project as well. See Peer Dependencies section.
// For React, you will need to import our React-specific component build
// which wraps the web component using @lit-labs/react
import { PieButton } from '@justeattakeaway/pie-button/dist/react';
```
> [!NOTE]
> When using the React version of the component, please make sure to also
> include React as a [peer dependency](#peer-dependencies) in your project.
## Peer Dependencies

@@ -67,0 +75,0 @@

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