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

@sendgrid/ui-components

Package Overview
Dependencies
Maintainers
4
Versions
272
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sendgrid/ui-components - npm Package Compare versions

Comparing version 1.43.2 to 1.43.3

1

image-library-details-pane.d.ts

@@ -8,2 +8,3 @@ import React, { Component } from 'react';

onClose: (image?: SGLibraryImage) => void;
header?: React.ReactNode;
renderActions: (image?: SGLibraryImage, closeDetailsPane?: () => void) => React.ReactNode;

@@ -10,0 +11,0 @@ }

5

image-library-details-pane.js

@@ -5,2 +5,3 @@ import cn from 'classnames';

import Styles from './styles/image-library-details-pane.module.scss';
const DEFAULT_HEADER = React.createElement("h3", null, "Image Details");
export class ImageLibraryDetailsPane extends Component {

@@ -15,3 +16,3 @@ constructor() {

render() {
const { alert, dateFormatter, image, renderActions } = this.props;
const { alert, dateFormatter, image, renderActions, header = DEFAULT_HEADER, } = this.props;
const dimensionsKnown = image.width && image.height;

@@ -22,3 +23,3 @@ return (React.createElement("div", { className: cn(Styles.wrap, 'wrap') },

React.createElement(Icon, { className: cn(Styles.x, 'x'), type: "x" })),
React.createElement("h3", null, "Image Details"),
header,
React.createElement("div", { className: cn(Styles['img-wrap'], 'img-wrap') },

@@ -25,0 +26,0 @@ React.createElement("img", { src: image.originalUrl })),

{
"name": "@sendgrid/ui-components",
"version": "1.43.2",
"version": "1.43.3",
"description": "Reusable UI components for Sendgrid's applications.",

@@ -5,0 +5,0 @@ "main": "index.js",

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