35 lines
1.2 KiB
TypeScript
35 lines
1.2 KiB
TypeScript
import type { ArrowOffsetToken } from '../../style/placementArrow';
|
|
import type { ArrowToken } from '../../style/roundedArrow';
|
|
import type { FullToken, GetDefaultToken } from '../../theme/internal';
|
|
export interface ComponentToken extends ArrowToken, ArrowOffsetToken {
|
|
/**
|
|
* @deprecated Please use `titleMinWidth` instead
|
|
* @desc 气泡卡片宽度
|
|
* @descEN Width of Popover
|
|
*/
|
|
width?: number | string;
|
|
/**
|
|
* @deprecated Please use `titleMinWidth` instead
|
|
* @desc 气泡卡片最小宽度
|
|
* @descEN Min width of Popover
|
|
*/
|
|
minWidth?: number | string;
|
|
/**
|
|
* @desc 气泡卡片标题最小宽度
|
|
* @descEN Min width of Popover title
|
|
*/
|
|
titleMinWidth: number | string;
|
|
/**
|
|
* @desc 气泡卡片 z-index
|
|
* @descEN z-index of Popover
|
|
*/
|
|
zIndexPopup: number;
|
|
}
|
|
export type PopoverToken = FullToken<'Popover'> & {
|
|
popoverBg: string;
|
|
popoverColor: string;
|
|
};
|
|
export declare const prepareComponentToken: GetDefaultToken<'Popover'>;
|
|
declare const _default: (prefixCls: string, rootCls?: string) => readonly [(node: import("react").ReactElement) => import("react").ReactElement, string, string];
|
|
export default _default;
|