Browse Source

fix: List.Item typescript (#35418)

pull/35422/head
Tom Xu 3 years ago
committed by GitHub
parent
commit
d1f85d94e5
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      components/list/Item.tsx

3
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<HTMLDivElement> {
style?: CSSProperties;
extra?: ReactNode;
actions?: ReactNode[];
grid?: ListGridType;
colStyle?: CSSProperties;
}

Loading…
Cancel
Save