///
export type SemanticType = 'root' | 'title' | 'content';
export interface SourcesItem {
key?: React.Key;
title: React.ReactNode;
url?: string;
icon?: React.ReactNode;
description?: React.ReactNode;
}
export interface SourcesProps extends Omit, 'title' | 'onClick'> {
prefixCls?: string;
style?: React.CSSProperties;
styles?: Partial>;
className?: string;
classNames?: Partial>;
rootClassName?: string;
inline?: boolean;
items?: Array;
title?: React.ReactNode;
expandIconPosition?: 'start' | 'end';
onClick?: (item: SourcesItem) => void;
popoverOverlayWidth?: number | string;
activeKey?: React.Key;
expanded?: boolean;
onExpand?: (expand: boolean) => void;
defaultExpanded?: boolean;
}
export type SourcesRef = {
nativeElement: HTMLElement;
};