File tree Expand file tree Collapse file tree 2 files changed +4
-15
lines changed
packages/mobile/components/label/src Expand file tree Collapse file tree 2 files changed +4
-15
lines changed Original file line number Diff line number Diff line change 11
11
*/
12
12
import type { ComputedRef , ExtractPropTypes } from 'vue'
13
13
import type { ISharedRenderlessFunctionParams , ISharedRenderlessParamUtils } from '../../../types/shared.type'
14
+
14
15
export type { ISharedRenderlessParamHooks } from '../../../types/shared.type'
15
16
16
17
export const labelProps = {
Original file line number Diff line number Diff line change 18
18
19
19
<script lang="ts">
20
20
import { renderless , api } from ' ./renderless/vue'
21
- import { props , setup , defineComponent } from ' ../../../vue-common'
21
+ import { setup , defineComponent } from ' ../../../vue-common'
22
+ import { labelProps } from ' ./label'
22
23
import ' @opentiny/vue-theme-mobile/label/index.less'
23
24
24
25
export default defineComponent ({
25
- props: [
26
- ... props ,
27
- ' label' ,
28
- ' color' ,
29
- ' size' ,
30
- ' type' ,
31
- ' wholeline' ,
32
- ' position' ,
33
- ' ellipsis' ,
34
- ' decimal' ,
35
- ' limit' ,
36
- ' isRequired' ,
37
- ' bold'
38
- ],
26
+ props: labelProps ,
39
27
emits: [' click' ],
40
28
setup(props , context ) {
41
29
return setup ({ props , context , renderless , api })
You can’t perform that action at this time.
0 commit comments