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

react-slidedown

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-slidedown - npm Package Compare versions

Comparing version 2.4.1 to 2.4.3

4

lib/slidedown.d.ts
import React from 'react';
interface SlideDownProps {
children?: React.ReactNode;
className?: string;
interface SlideDownProps extends React.HTMLAttributes<HTMLDivElement> {
closed?: boolean;

@@ -6,0 +4,0 @@ transitionOnAppear?: boolean;

@@ -101,5 +101,5 @@ "use strict";

SlideDownContent.prototype.render = function () {
var className = this.props.className ?
'react-slidedown ' + this.props.className : 'react-slidedown';
return (react_1.default.createElement("div", { className: className, ref: this.handleRef, onTransitionEnd: this.handleTransitionEnd }, this.state.children));
var _a = this.props, children = _a.children, className = _a.className, closed = _a.closed, transitionOnAppear = _a.transitionOnAppear, forwardedRef = _a.forwardedRef, rest = tslib_1.__rest(_a, ["children", "className", "closed", "transitionOnAppear", "forwardedRef"]);
var containerClassName = className ? 'react-slidedown ' + className : 'react-slidedown';
return (react_1.default.createElement("div", tslib_1.__assign({ ref: this.handleRef, className: containerClassName, onTransitionEnd: this.handleTransitionEnd }, rest), this.state.children));
};

@@ -106,0 +106,0 @@ SlideDownContent.defaultProps = {

{
"name": "react-slidedown",
"version": "2.4.1",
"version": "2.4.3",
"description": "Component for animating height during mount/unmount using a CSS transition",

@@ -5,0 +5,0 @@ "main": "lib/slidedown.js",

@@ -0,0 +0,0 @@ react-slidedown

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