rc-collapse
Advanced tools
Comparing version 3.4.0 to 3.4.1
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> |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
52989
1007