amis-rpc-design/node_modules/antd/es/typography/Editable.d.ts

21 lines
606 B
TypeScript
Raw Normal View History

2023-10-07 19:42:30 +08:00
import type { AutoSizeType } from 'rc-textarea';
import * as React from 'react';
import type { 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;
component?: string;
}
declare const Editable: React.FC<EditableProps>;
export default Editable;