water_xcx/miniprogram_npm/tdesign-miniprogram/textarea/props.js

52 lines
851 B
JavaScript

const props = {
adjustPosition: {
type: Boolean,
value: true,
},
autofocus: {
type: Boolean,
value: false,
},
autosize: {
type: Boolean,
value: false,
},
confirmHold: {
type: Boolean,
value: false,
},
confirmType: {
type: String,
value: 'done',
},
disabled: {
type: Boolean,
value: false,
},
externalClasses: {
type: Array,
},
focus: {
type: Boolean,
value: false,
},
label: {
type: String,
},
maxcharacter: {
type: Number,
},
maxlength: {
type: Number,
},
placeholder: {
type: String,
value: undefined,
},
value: {
type: String,
value: null,
},
};
export default props;