UNPKG

2.08 kBJSONView Raw
1{
2 "name": "Paragraph",
3 "props": {
4 "className": {
5 "type": {
6 "name": "string"
7 },
8 "required": false,
9 "description": "额外的样式名 会附加到 root dom 上",
10 "docblock": "额外的样式名 会附加到 root dom 上"
11 },
12 "type": {
13 "type": {
14 "name": "enum",
15 "value": [
16 {
17 "value": "'long'",
18 "computed": false,
19 "description": "展示所有文本"
20 },
21 {
22 "value": "'short'",
23 "computed": false,
24 "description": "展示三行以内(非强制)"
25 }
26 ]
27 },
28 "required": false,
29 "description": "什么方式展示段落",
30 "defaultValue": {
31 "value": "'long'",
32 "computed": false
33 },
34 "docblock": "什么方式展示段落\n@enumdesc 展示所有文本, 展示三行以内(非强制)",
35 "value": [
36 {
37 "value": "'long'",
38 "computed": false,
39 "description": "展示所有文本"
40 },
41 {
42 "value": "'short'",
43 "computed": false,
44 "description": "展示三行以内(非强制)"
45 }
46 ]
47 },
48 "size": {
49 "type": {
50 "name": "enum",
51 "value": [
52 {
53 "value": "'medium'",
54 "computed": false,
55 "description": "中号"
56 },
57 {
58 "value": "'small'",
59 "computed": false,
60 "description": "小号"
61 }
62 ]
63 },
64 "required": false,
65 "description": "组件大小。",
66 "defaultValue": {
67 "value": "'medium'",
68 "computed": false
69 },
70 "docblock": "组件大小。\n@enumdesc 中号, 小号",
71 "value": [
72 {
73 "value": "'medium'",
74 "computed": false,
75 "description": "中号"
76 },
77 {
78 "value": "'small'",
79 "computed": false,
80 "description": "小号"
81 }
82 ]
83 }
84 },
85 "methods": [],
86 "subComponents": []
87}
\No newline at end of file