1 | {
|
2 | "name": "Typography",
|
3 | "props": {
|
4 | "component": {
|
5 | "type": {
|
6 | "name": "custom",
|
7 | "raw": "PropTypes.elementType"
|
8 | },
|
9 | "required": false,
|
10 | "description": "设置标签类型",
|
11 | "defaultValue": {
|
12 | "value": "'article'",
|
13 | "computed": false
|
14 | },
|
15 | "docblock": "设置标签类型"
|
16 | }
|
17 | },
|
18 | "methods": [],
|
19 | "description": "继承 Typography.Text API",
|
20 | "order": 0,
|
21 | "subComponents": [
|
22 | {
|
23 | "name": "Paragraph",
|
24 | "props": {
|
25 | "component": {
|
26 | "type": {
|
27 | "name": "custom",
|
28 | "raw": "PropTypes.elementType"
|
29 | },
|
30 | "required": false,
|
31 | "description": "设置标签类型",
|
32 | "defaultValue": {
|
33 | "value": "'p'",
|
34 | "computed": false
|
35 | },
|
36 | "docblock": "设置标签类型"
|
37 | }
|
38 | },
|
39 | "methods": [],
|
40 | "description": "继承 Typography.Text 的 API",
|
41 | "order": 2
|
42 | },
|
43 | {
|
44 | "name": "Text",
|
45 | "props": {
|
46 | "delete": {
|
47 | "type": {
|
48 | "name": "bool"
|
49 | },
|
50 | "required": false,
|
51 | "description": "添加删除线样式",
|
52 | "defaultValue": {
|
53 | "value": "false",
|
54 | "computed": false
|
55 | },
|
56 | "docblock": "添加删除线样式"
|
57 | },
|
58 | "mark": {
|
59 | "type": {
|
60 | "name": "bool"
|
61 | },
|
62 | "required": false,
|
63 | "description": "添加标记样式",
|
64 | "defaultValue": {
|
65 | "value": "false",
|
66 | "computed": false
|
67 | },
|
68 | "docblock": "添加标记样式"
|
69 | },
|
70 | "underline": {
|
71 | "type": {
|
72 | "name": "bool"
|
73 | },
|
74 | "required": false,
|
75 | "description": "添加下划线样式",
|
76 | "defaultValue": {
|
77 | "value": "false",
|
78 | "computed": false
|
79 | },
|
80 | "docblock": "添加下划线样式"
|
81 | },
|
82 | "strong": {
|
83 | "type": {
|
84 | "name": "bool"
|
85 | },
|
86 | "required": false,
|
87 | "description": "是否加粗",
|
88 | "defaultValue": {
|
89 | "value": "false",
|
90 | "computed": false
|
91 | },
|
92 | "docblock": "是否加粗"
|
93 | },
|
94 | "code": {
|
95 | "type": {
|
96 | "name": "bool"
|
97 | },
|
98 | "required": false,
|
99 | "description": "添加代码样式",
|
100 | "defaultValue": {
|
101 | "value": "false",
|
102 | "computed": false
|
103 | },
|
104 | "docblock": "添加代码样式"
|
105 | },
|
106 | "component": {
|
107 | "type": {
|
108 | "name": "custom",
|
109 | "raw": "PropTypes.elementType"
|
110 | },
|
111 | "required": false,
|
112 | "description": "设置标签类型",
|
113 | "defaultValue": {
|
114 | "value": "'span'",
|
115 | "computed": false
|
116 | },
|
117 | "docblock": "设置标签类型"
|
118 | }
|
119 | },
|
120 | "methods": [],
|
121 | "order": 3
|
122 | }
|
123 | ]
|
124 | } |
\ | No newline at end of file |