import * as React from 'react';

declare interface propTypes {
    name: string;
    labelValue?: string;
    required?: boolean;
    invalidMessage?: string;
    readonly?: boolean;
    hidden?: boolean;
    colSpan?: number;
    value?: string | number;

    code?: string;
    prefix?: string;
    excludeCodes?: string;
    arrayCode?: string;

    cascadeDependOnTagName?: string; //级联依赖的父组件name

    align?: 'left' | 'center' | 'right';
    fontColor?: string;
    bold?: boolean;
    backgroundColor?: string;
    underline?: boolean;
    oblique?: boolean;
    border?: boolean;
    placeholder?: string;

    onChange?: Function;
    onBlur?: Function;
    onClick?: Function;
    onKeyDown?: Function;
    onDblClick?: Function;
    onFocus?: Function;
}

export default class Dropdown extends React.Component<propTypes> {}
