15 lines
386 B
TypeScript
15 lines
386 B
TypeScript
import { InputInstance, Textarea, TextareaInstance } from '@arco-design/web-vue';
|
|
import { defineSetter } from './util';
|
|
|
|
type TextareaProps = InputInstance['$props'] & TextareaInstance['$props'];
|
|
|
|
type TextareaSlots = "none";
|
|
|
|
export default defineSetter<TextareaProps, TextareaSlots>({
|
|
setter: Textarea,
|
|
setterProps: {
|
|
placeholder: '请输入',
|
|
allowClear: true,
|
|
},
|
|
});
|