Files
2026-01-16 01:51:36 +00:00

22 lines
707 B
TypeScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import React from 'react';
import type { AppItemProps, AppListProps } from './types';
/**
* 默认渲染logo的方式如果是个string用img。否则直接返回
*
* @param logo
* @returns
*/
export declare const defaultRenderLogo: (logo: React.ReactNode | (() => React.ReactNode)) => React.ReactNode;
/**
* 相关品牌额icon 列表。用于展示相关的品牌
*
* @param props
* @returns
*/
export declare const AppsLogoComponents: React.FC<{
appList?: AppListProps;
appListRender?: (props: AppListProps, defaultDom: React.ReactNode) => React.ReactNode;
onItemClick?: (item: AppItemProps, popoverRef?: React.RefObject<HTMLSpanElement>) => void;
prefixCls?: string;
}>;