UNPKG

@qn-pandora/pandora-visualization

Version:

Pandora 通用可视化库

28 lines (27 loc) 977 B
/// <reference types="hoist-non-react-statics" /> import React from 'react'; import PropTypes from 'prop-types'; export interface UnitItemProps { label: string; value?: string[]; formItemCol?: IKeyValues; disabled?: boolean; getPopupContainer?: () => HTMLElement; onChange: (unit: string[]) => void; } export declare class UnitItem extends React.Component<UnitItemProps, any> { static contextTypes: { getPopupContainer: PropTypes.Requireable<(...args: any[]) => any>; }; get units(): { label: string; value: string; children: { label: string; value: string; }[]; }[]; render(): React.JSX.Element; } declare const _default: React.ComponentClass<UnitItemProps, any> & import("hoist-non-react-statics").NonReactStatics<(React.ComponentClass<UnitItemProps, any> & typeof UnitItem) | (React.FunctionComponent<UnitItemProps> & typeof UnitItem), {}>; export default _default;