editable-antd-tree
Version:
This is an editable tree react component based on antd.
12 lines (11 loc) • 578 B
TypeScript
import React from "react";
export declare type TextProps = {
onChange?: (value: any) => void;
onEnter?: Function;
endIcon?: React.ReactElement;
} & Omit<React.InputHTMLAttributes<HTMLInputElement>, "onChange">;
export declare const TextInput: React.ForwardRefExoticComponent<{
onChange?: ((value: any) => void) | undefined;
onEnter?: Function | undefined;
endIcon?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
} & Omit<React.InputHTMLAttributes<HTMLInputElement>, "onChange"> & React.RefAttributes<HTMLInputElement>>;