UNPKG

@qn-pandora/pandora-visualization

Version:

Pandora 通用可视化库

27 lines (26 loc) 889 B
/// <reference types="hoist-non-react-statics" /> import React from 'react'; interface IYBucketItemProps { /** * 是否为多选 */ isMultipleMode: boolean; /** * 当前显示的值 */ currentBucket: string[]; /** * 所有的选项 */ bucketOptions: string[]; allowClear?: boolean; getPopupContainer?: () => any; /**onchange函数 */ onChange: (value: string[]) => void; } export declare class BucketItem extends React.Component<IYBucketItemProps, any> { handleOnChange(value: string[]): void; render(): React.JSX.Element; } declare const _default: React.ComponentClass<IYBucketItemProps, any> & import("hoist-non-react-statics").NonReactStatics<(React.ComponentClass<IYBucketItemProps, any> & typeof BucketItem) | (React.FunctionComponent<IYBucketItemProps> & typeof BucketItem), {}>; export default _default;