rc-collapse
Advanced tools
Comparing version 3.7.0 to 3.7.1
import React from 'react'; | ||
import type { CollapsePanelProps, CollapseProps, ItemType } from '../interface'; | ||
declare type Props = Pick< | ||
CollapsePanelProps, | ||
'prefixCls' | 'onItemClick' | 'openMotion' | 'expandIcon' | ||
> & | ||
type Props = Pick<CollapsePanelProps, 'prefixCls' | 'onItemClick' | 'openMotion' | 'expandIcon'> & | ||
Pick<CollapseProps, 'accordion' | 'collapsible' | 'destroyInactivePanel'> & { | ||
@@ -8,0 +5,0 @@ activeKey: React.Key[]; |
import type { CSSMotionProps } from 'rc-motion'; | ||
import type * as React from 'react'; | ||
export declare type CollapsibleType = 'header' | 'icon' | 'disabled'; | ||
export type CollapsibleType = 'header' | 'icon' | 'disabled'; | ||
export interface ItemType | ||
@@ -5,0 +5,0 @@ extends Omit< |
@@ -86,5 +86,5 @@ import _defineProperty from '@babel/runtime/helpers/esm/defineProperty'; | ||
var headerClassName = classNames( | ||
headerClass, | ||
((_classNames2 = {}), | ||
_defineProperty(_classNames2, ''.concat(prefixCls, '-header'), true), | ||
_defineProperty(_classNames2, 'headerClass', headerClass), | ||
_defineProperty( | ||
@@ -91,0 +91,0 @@ _classNames2, |
import React from 'react'; | ||
import type { CollapsePanelProps, CollapseProps, ItemType } from '../interface'; | ||
declare type Props = Pick< | ||
CollapsePanelProps, | ||
'prefixCls' | 'onItemClick' | 'openMotion' | 'expandIcon' | ||
> & | ||
type Props = Pick<CollapsePanelProps, 'prefixCls' | 'onItemClick' | 'openMotion' | 'expandIcon'> & | ||
Pick<CollapseProps, 'accordion' | 'collapsible' | 'destroyInactivePanel'> & { | ||
@@ -8,0 +5,0 @@ activeKey: React.Key[]; |
import type { CSSMotionProps } from 'rc-motion'; | ||
import type * as React from 'react'; | ||
export declare type CollapsibleType = 'header' | 'icon' | 'disabled'; | ||
export type CollapsibleType = 'header' | 'icon' | 'disabled'; | ||
export interface ItemType | ||
@@ -5,0 +5,0 @@ extends Omit< |
@@ -99,5 +99,5 @@ 'use strict'; | ||
var headerClassName = (0, _classnames.default)( | ||
headerClass, | ||
((_classNames2 = {}), | ||
(0, _defineProperty2.default)(_classNames2, ''.concat(prefixCls, '-header'), true), | ||
(0, _defineProperty2.default)(_classNames2, 'headerClass', headerClass), | ||
(0, _defineProperty2.default)( | ||
@@ -104,0 +104,0 @@ _classNames2, |
{ | ||
"name": "rc-collapse", | ||
"version": "3.7.0", | ||
"version": "3.7.1", | ||
"description": "rc-collapse ui component for react", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
52480
1262