antd
Version:
An enterprise-class UI design language and React components implementation
17 lines (16 loc) • 524 B
TypeScript
import * as React from 'react';
import type { MessageSemanticAllType, NoticeType } from './interface';
interface PureListItem {
key: React.Key;
content: React.ReactNode;
type: NoticeType;
duration?: number | false;
}
export interface PureListProps {
items: PureListItem[];
classNames?: MessageSemanticAllType['classNames'];
style?: React.CSSProperties;
}
/** @private Internal Component. Do not use in your production. */
declare const PureList: React.FC<PureListProps>;
export default PureList;