@alifd/meet-react
Version:
Fusion Mobile React UI System Component
38 lines (37 loc) • 1.23 kB
TypeScript
import { ReactNode } from 'react';
import { LocaledComponentProps } from '../locale';
import { BaseComponentAttributes, BasicSizeType } from '../utils/types';
export interface LocaleType {
placeHolderText?: string;
ok?: string;
cancel?: string;
}
export interface SelectDrawerProps extends BaseComponentAttributes, LocaledComponentProps<LocaleType> {
drawerClassName?: string;
iconType?: string;
content?: string | ReactNode;
drawerTitle?: string;
placeholder?: string;
disabled?: boolean;
readOnly?: boolean;
showIcon?: boolean;
hasClear?: boolean;
showToolbar?: boolean;
hideButton?: boolean;
notFoundContent?: string | ReactNode;
disableScroll?: boolean;
okText?: string;
cancelText?: string;
buttonPosition?: 'top' | 'bottom';
type?: 'normal' | 'inverse';
children?: any;
align?: 'left' | 'right';
zIndex?: number;
onCancel?: (reason?: string) => any;
onOk?: () => any;
onVisibleChange?: (visible: boolean) => void;
onClear?: () => void;
size?: BasicSizeType;
}
declare const _default: import("react").ForwardRefExoticComponent<SelectDrawerProps & import("react").RefAttributes<any>>;
export default _default;