File tree Expand file tree Collapse file tree 3 files changed +25
-2
lines changed
packages/theme-saas/src/drawer Expand file tree Collapse file tree 3 files changed +25
-2
lines changed Original file line number Diff line number Diff line change @@ -194,6 +194,19 @@ export default {
194194 } ,
195195 mode : [ 'pc' ] ,
196196 pcDemo : 'z-index'
197+ } ,
198+ {
199+ name : 'tips-props' ,
200+ type : 'ITipsProps' ,
201+ typeAnchorName : 'ITipsProps' ,
202+ defaultValue : '' ,
203+ desc : {
204+ 'zh-CN' : '可自定义标题帮助提示信息' ,
205+ 'en-US' : 'Customizable title help prompt information'
206+ } ,
207+ mode : [ 'pc' ] ,
208+ pcDemo : 'tips-props' ,
209+ hideSaas : true
197210 }
198211 ] ,
199212 events : [
@@ -326,6 +339,15 @@ export default {
326339 }
327340 ] ,
328341 types : [
342+ {
343+ name : 'ITipsProps' ,
344+ type : 'interface' ,
345+ code : `interface ITipsProps {
346+ content?: string
347+ placement?: string
348+ effect?: string
349+ }`
350+ } ,
329351 {
330352 name : 'IDrawerConfigs' ,
331353 type : 'interface' ,
Original file line number Diff line number Diff line change @@ -47,7 +47,8 @@ export default {
4747 '<p>通过 <code>tips-props</code> 属性可自定义标题帮助提示信息,具体属性配置参考 <a href="tooltip#tooltip">ToolTip 组件</a> 的 props 说明。</p>' ,
4848 'en-US' : ''
4949 } ,
50- codeFiles : [ 'tips-props.vue' ]
50+ codeFiles : [ 'tips-props.vue' ] ,
51+ hideSaas : true
5152 } ,
5253 {
5354 demoId : 'width' ,
Original file line number Diff line number Diff line change 155155 @apply flex- none;
156156 @apply flex ;
157157 @apply leading- 6;
158- @apply p - 4;
158+ @apply px - 6 py - 4;
159159 @apply text- base;
160160 @apply items- center;
161161
You can’t perform that action at this time.
0 commit comments