You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
1010 B

import * as React from 'react';
import { PickerPropsType } from './PropsType';
export interface AbstractPickerProps extends PickerPropsType {
pickerPrefixCls?: string;
popupPrefixCls?: string;
}
export declare function getDefaultProps(): {
triggerType: string;
prefixCls: string;
pickerPrefixCls: string;
popupPrefixCls: string;
format: (values: React.ReactNode[]) => string | React.ReactNode[];
cols: number;
cascade: boolean;
title: string;
};
export default abstract class AbstractPicker extends React.Component<AbstractPickerProps, any> {
protected abstract popupProps: {};
private scrollValue;
getSel: () => string | React.ReactNode[] | undefined;
getPickerCol: () => JSX.Element[];
onOk: (v: any) => void;
setScrollValue: (v: any) => void;
setCasecadeScrollValue: (v: any) => void;
fixOnOk: (cascader: any) => void;
onPickerChange: (v: any) => void;
onVisibleChange: (visible: boolean) => void;
render(): JSX.Element;
}