tdesign-react
Version:
TDesign Component for React
18 lines (17 loc) • 676 B
TypeScript
import React from 'react';
import type { StyledProps } from '../common';
import type { ListInstanceFunctions, TdListProps } from './type';
export interface ListProps extends TdListProps, StyledProps {
/**
* 文本内容
*/
children?: React.ReactNode;
}
/**
* 列表组件
*/
declare const List: React.FunctionComponent<ListProps & React.RefAttributes<ListInstanceFunctions>> & {
ListItem: React.ForwardRefExoticComponent<import("./ListItem").ListItemProps & React.RefAttributes<HTMLLIElement>>;
ListItemMeta: React.ForwardRefExoticComponent<import("./ListItemMeta").ListItemMetaProps & React.RefAttributes<HTMLDivElement>>;
};
export default List;