/** * @deprecated * 后续会移除,请使用 Badge 替代 */ export class Bubble extends React.PureComponent { static propTypes: { /** @ignore */ children: PropTypes.Requireable; /** 泡泡内容 */ bubble: PropTypes.Requireable; /** 内置样式风格 */ styleType: PropTypes.Validator; /** 尺寸 */ size: PropTypes.Requireable; /** 自定义样式 */ customStyle: PropTypes.Requireable; /** 泡泡的背景色 */ bubbleBackground: PropTypes.Requireable; }>>; /** * @ignore * 自定义冒泡层定位的目标元素 */ getBubbleTarget: PropTypes.Requireable<(...args: any[]) => any>; /** 自定义偏移量 */ offset: PropTypes.Requireable; }; static defaultProps: { offset: number[]; size: string; }; constructor(props: any); constructor(props: any, context: any); componentDidMount(): void; render(): JSX.Element; } export namespace Bubble { export { StyleType }; export { Size }; } export default Bubble; import React from "react"; import PropTypes from "prop-types"; declare const StyleType: string[]; declare const Size: string[];