UNPKG

@qn-pandora/pandora-visualization

Version:

Pandora 通用可视化库

31 lines (30 loc) 1.26 kB
/// <reference types="hoist-non-react-statics" /> import * as React from 'react'; import PropTypes from 'prop-types'; import { IThemeService } from '../../../services/theme/registerTheme'; import BasicComponent from '../../../components/Base/BasicComponent'; import ModalVisibleCtl from '../../../stores/ModalVisibleCtl'; import { IValue } from './InfoModal'; import 'antd-mobile/lib/modal/style/css'; export interface ITitleProps { className?: string; value: IValue; onChange: (title: IValue) => void; editable?: boolean; themeService?: IThemeService; } export declare class Title extends BasicComponent<ITitleProps, any> { static contextTypes: { replaceVariable: PropTypes.Requireable<(...args: any[]) => any>; chartContainerService: PropTypes.Requireable<object>; }; modalCtl: ModalVisibleCtl; editing: boolean; setEditing(editing: boolean): void; get descriptionHtml(): { __html: string; }; render(): React.JSX.Element; } declare const _default: React.ComponentClass<ITitleProps, any> & import("hoist-non-react-statics").NonReactStatics<(React.ComponentClass<ITitleProps, any> & typeof Title) | (React.FunctionComponent<ITitleProps> & typeof Title), {}>; export default _default;