Skip to content

Commit 926e147

Browse files
committed
fix: 修复lint错误
1 parent 925207f commit 926e147

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Panel.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,13 +101,13 @@ const CollapsePanel = React.forwardRef<HTMLDetailsElement, CollapsePanelProps>((
101101

102102
const leavedClassName = `${prefixCls}-panel-hidden`;
103103
const createPanelContent = (
104-
props: Partial<{
104+
options: Partial<{
105105
className: string;
106106
style: React.CSSProperties;
107107
motionRef: (node: HTMLDivElement) => void;
108108
}>,
109109
) => {
110-
const { className, style, motionRef } = props;
110+
const { className, style, motionRef } = options;
111111

112112
return (
113113
<PanelContent

0 commit comments

Comments
 (0)