From d1f85d94e5757707b41d7d3b924cd62d13092dae Mon Sep 17 00:00:00 2001 From: Tom Xu Date: Sat, 7 May 2022 14:03:41 +0800 Subject: [PATCH] fix: List.Item typescript (#35418) --- components/list/Item.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/components/list/Item.tsx b/components/list/Item.tsx index 7763e39cab..8e13eaae10 100644 --- a/components/list/Item.tsx +++ b/components/list/Item.tsx @@ -9,7 +9,7 @@ import type { ReactNode, } from 'react'; import classNames from 'classnames'; -import { ListGridType, ListContext } from './index'; +import { ListContext } from './index'; import { Col } from '../grid'; import { ConfigContext } from '../config-provider'; import { cloneElement } from '../_util/reactNode'; @@ -21,7 +21,6 @@ export interface ListItemProps extends HTMLAttributes { style?: CSSProperties; extra?: ReactNode; actions?: ReactNode[]; - grid?: ListGridType; colStyle?: CSSProperties; }