UNPKG

619 BTypeScriptView Raw
1import React from 'react';
2import type { AppsLogoComponentsAppList, AppsLogoComponentsAppItem } from './types';
3/**
4 * 默认渲染logo的方式,如果是个string,用img。否则直接返回
5 *
6 * @param logo
7 * @returns
8 */
9export declare const defaultRenderLogo: (logo: React.ReactNode | (() => React.ReactNode)) => React.ReactNode;
10/**
11 * 相关品牌额icon 列表。用于展示相关的品牌
12 *
13 * @param props
14 * @returns
15 */
16export declare const AppsLogoComponents: React.FC<{
17 appList?: AppsLogoComponentsAppList;
18 itemClick?: (item: AppsLogoComponentsAppItem) => void;
19 prefixCls?: string;
20}>;