From 00102d4278bb9853343a36626620b973fa9e6e59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=AF=B8=E5=B2=B3?= Date: Thu, 10 Jan 2019 12:13:27 +0800 Subject: [PATCH] ts: Extend ListItemProps from native div element attributes, close #14171 --- components/list/Item.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/list/Item.tsx b/components/list/Item.tsx index 3dc2a74fd2..63f15ace0b 100644 --- a/components/list/Item.tsx +++ b/components/list/Item.tsx @@ -5,7 +5,7 @@ import { ListGridType, ColumnType } from './index'; import { Col } from '../grid'; import { ConfigConsumer, ConfigConsumerProps } from '../config-provider'; -export interface ListItemProps { +export interface ListItemProps extends React.HTMLAttributes { className?: string; children?: React.ReactNode; prefixCls?: string;