adou-ui
Version:
feat:修复了TagInput无法清空的问题
41 lines (40 loc) • 1.11 kB
TypeScript
import React from "react";
import "./index.scss";
interface CheckboxProps {
labelNoWrap?: boolean;
width?: any;
valueKey?: string;
labelKey?: string;
returnType?: "str" | "obj";
suffixContentType?: string;
suffixContent?: any;
name?: string;
isFormItem?: boolean;
errMsg?: string;
labelWidth?: any;
commonSuffixIcon?: string;
readOnly?: boolean;
inputGroup?: boolean;
label?: string;
labelPosition?: "left-top" | "center" | "top" | "input-group";
labelColor?: string;
required?: boolean;
defaultValue?: string | string[] | {
label: string;
value: string;
}[];
externalClassName?: string;
options?: {
label: any;
value: string;
}[];
inline?: boolean;
wrap?: boolean;
onChange?: (item: {
label: string;
value: string;
}[]) => void;
onFormDataChange?: (key: string, value: any) => void;
}
declare const _default: React.ForwardRefExoticComponent<CheckboxProps & React.RefAttributes<any>>;
export default _default;