chore: id => data-id

This commit is contained in:
liaoxuezhi 2024-10-15 15:42:10 +08:00
parent 0d5606c5b5
commit 36eb15fe8f

View File

@ -276,7 +276,7 @@ export default class Panel extends React.Component<PanelProps> {
return (
<div
id={id}
data-id={id}
className={cx(`Panel`, className || `Panel--default`)}
style={style}
>