File tree Expand file tree Collapse file tree 1 file changed +33
-31
lines changed Expand file tree Collapse file tree 1 file changed +33
-31
lines changed Original file line number Diff line number Diff line change 1- import type { PropType , ExtractPropTypes } from 'vue'
1+ import type { PropType , ExtractPropTypes } from 'vue' ;
22
33export const textareaProps = {
4- id : {
4+ id : {
55 type : String ,
6- default : undefined
7- } ,
8- autofocus : {
6+ default : undefined ,
7+ } ,
8+ autofocus : {
99 type : Boolean ,
10- default : false
11- } ,
12- showCount : {
10+ default : false ,
11+ } ,
12+ showCount : {
1313 type : Boolean ,
14- default : false
15- } ,
16- placeholder : {
14+ default : false ,
15+ } ,
16+ placeholder : {
1717 type : String ,
18- default : undefined
19- } ,
20- value : {
18+ default : undefined ,
19+ } ,
20+ value : {
2121 type : String ,
22- default : undefined
23- } ,
24- maxLength : {
22+ default : undefined ,
23+ } ,
24+ maxLength : {
2525 type : Number ,
26- default : undefined
26+ default : undefined ,
2727 } ,
28- disabled : {
28+ disabled : {
2929 type : Boolean ,
30- default : false
31- } ,
32- error : {
30+ default : false ,
31+ } ,
32+ error : {
3333 type : Boolean ,
34- default : false
35- } ,
36- cssClass : {
34+ default : false ,
35+ } ,
36+ cssClass : {
3737 type : String ,
38- default : ''
38+ default : '' ,
3939 } ,
40- resize : {
41- type : String as PropType < 'none' | 'vertical' | 'horizontal' | 'both' | 'inherit' > ,
42- default : 'none'
40+ resize : {
41+ type : String as PropType <
42+ 'none' | 'vertical' | 'horizontal' | 'both' | 'inherit'
43+ > ,
44+ default : 'none' ,
4345 } ,
44- } as const
46+ } as const ;
4547
46- export type TextareaProps = ExtractPropTypes < typeof textareaProps >
48+ export type TextareaProps = ExtractPropTypes < typeof textareaProps > ;
You can’t perform that action at this time.
0 commit comments