Socket
Socket
Sign inDemoInstall

rc-collapse

Package Overview
Dependencies
Maintainers
6
Versions
82
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rc-collapse - npm Package Compare versions

Comparing version 3.4.0 to 3.4.1

2

es/interface.d.ts
import type { CSSMotionProps } from 'rc-motion';
import type * as React from 'react';
export declare type CollapsibleType = 'header' | 'disabled' | 'icon';
export declare type CollapsibleType = 'header' | 'icon' | 'disabled';
export interface CollapseProps {

@@ -5,0 +5,0 @@ prefixCls?: string;

@@ -129,3 +129,9 @@ import _extends from "@babel/runtime/helpers/esm/extends";

var ifExtraExist = extra !== null && extra !== undefined && typeof extra !== 'boolean';
var ifExtraExist = extra !== null && extra !== undefined && typeof extra !== 'boolean'; // https://github.com/ant-design/ant-design/pull/37419#issuecomment-1238812797
delete rest.header;
delete rest.panelKey;
delete rest.onItemClick;
delete rest.showArrow;
delete rest.expandIcon;
return /*#__PURE__*/React.createElement("div", _extends({}, rest, {

@@ -132,0 +138,0 @@ className: itemCls,

import type { CSSMotionProps } from 'rc-motion';
import type * as React from 'react';
export declare type CollapsibleType = 'header' | 'disabled' | 'icon';
export declare type CollapsibleType = 'header' | 'icon' | 'disabled';
export interface CollapseProps {

@@ -5,0 +5,0 @@ prefixCls?: string;

@@ -153,3 +153,9 @@ "use strict";

var ifExtraExist = extra !== null && extra !== undefined && typeof extra !== 'boolean';
var ifExtraExist = extra !== null && extra !== undefined && typeof extra !== 'boolean'; // https://github.com/ant-design/ant-design/pull/37419#issuecomment-1238812797
delete rest.header;
delete rest.panelKey;
delete rest.onItemClick;
delete rest.showArrow;
delete rest.expandIcon;
return /*#__PURE__*/React.createElement("div", (0, _extends2.default)({}, rest, {

@@ -156,0 +162,0 @@ className: itemCls,

{
"name": "rc-collapse",
"version": "3.4.0",
"version": "3.4.1",
"description": "rc-collapse ui component for react",

@@ -5,0 +5,0 @@ "keywords": [

@@ -122,3 +122,3 @@ # rc-collapse

<td>collapsible</td>
<td>'header' | 'disabled'</td>
<td>'header' | 'icon' | 'disabled'</td>
<th>-</th>

@@ -125,0 +125,0 @@ <td>specify whether the panel of children is collapsible or the area of collapsible.</td>

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