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.
20 lines
595 B
20 lines
595 B
import * as React from 'react';
|
|
import { AutoSizeType } from 'rc-textarea/lib/ResizableTextArea';
|
|
import { DirectionType } from '../config-provider';
|
|
interface EditableProps {
|
|
prefixCls?: string;
|
|
value: string;
|
|
['aria-label']?: string;
|
|
onSave: (value: string) => void;
|
|
onCancel: () => void;
|
|
onEnd?: () => void;
|
|
className?: string;
|
|
style?: React.CSSProperties;
|
|
direction?: DirectionType;
|
|
maxLength?: number;
|
|
autoSize?: boolean | AutoSizeType;
|
|
enterIcon?: React.ReactNode;
|
|
}
|
|
declare const Editable: React.FC<EditableProps>;
|
|
export default Editable;
|