mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-29 05:29:37 +08:00
update comment
This commit is contained in:
parent
0a905f192c
commit
533ae050f0
@ -115,7 +115,7 @@ export default class Item extends React.Component<ListItemProps, any> {
|
||||
const Tag = grid ? 'div' : 'li';
|
||||
const itemChildren = (
|
||||
<Tag
|
||||
{...others as any} // `li` element don't have `onCopy` prop. Cast to any.
|
||||
{...others as any} // `li` element `onCopy` prop args is not same as `div`
|
||||
className={classNames(`${prefixCls}-item`, className, {
|
||||
[`${prefixCls}-item-no-flex`]: !this.isFlexMode(),
|
||||
})}
|
||||
|
Loading…
Reference in New Issue
Block a user