UNPKG

@qn-pandora/pandora-visualization

Version:

Pandora 通用可视化库

27 lines (26 loc) 1.2 kB
/// <reference types="hoist-non-react-statics" /> import React from 'react'; import { IItemProps } from '../../../components/Common/Form/Item'; import { EAxisMinMaxMode } from '../../../constants/chart-style'; export interface IAxisMinMaxItemProps extends IItemProps { label: string; /** 轴最大值、最小值模式集合*/ axisModes?: any; /**input框中的值 */ value?: number; /**坐标轴刻度展示状态 */ axisMode?: EAxisMinMaxMode; /**按钮的名字 */ buttonClassName?: string; /**设置坐标轴刻度展示状态 */ setAxisMode: (mode: EAxisMinMaxMode) => void; /**改变坐标轴显示的值 */ handleValueChange: (e: any) => void; placeholder?: string; } export declare class AxisMinMaxItem extends React.Component<IAxisMinMaxItemProps, any> { handleValueChange(e: any): void; render(): React.JSX.Element; } declare const _default: React.ComponentClass<IAxisMinMaxItemProps, any> & import("hoist-non-react-statics").NonReactStatics<(React.ComponentClass<IAxisMinMaxItemProps, any> & typeof AxisMinMaxItem) | (React.FunctionComponent<IAxisMinMaxItemProps> & typeof AxisMinMaxItem), {}>; export default _default;