amis-rpc-design/node_modules/antd/es/list/Item.d.ts
2023-10-07 19:42:30 +08:00

27 lines
856 B
TypeScript

import type { CSSProperties, FC, ForwardRefExoticComponent, HTMLAttributes, ReactNode } from 'react';
import React from 'react';
export interface ListItemProps extends HTMLAttributes<HTMLDivElement> {
className?: string;
children?: ReactNode;
prefixCls?: string;
style?: CSSProperties;
extra?: ReactNode;
actions?: ReactNode[];
colStyle?: CSSProperties;
}
export interface ListItemMetaProps {
avatar?: ReactNode;
className?: string;
children?: ReactNode;
description?: ReactNode;
prefixCls?: string;
style?: CSSProperties;
title?: ReactNode;
}
export declare const Meta: FC<ListItemMetaProps>;
export interface ListItemTypeProps extends ForwardRefExoticComponent<ListItemProps & React.RefAttributes<HTMLElement>> {
Meta: typeof Meta;
}
declare const Item: ListItemTypeProps;
export default Item;