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 1111 */
1212import type { ComputedRef , ExtractPropTypes } from 'vue'
1313import type { ISharedRenderlessFunctionParams , ISharedRenderlessParamUtils } from '../../../types/shared.type'
14+
1415export type { ISharedRenderlessParamHooks } from '../../../types/shared.type'
1516
1617export const labelProps = {
Original file line number Diff line number Diff line change 1818
1919<script lang="ts">
2020import { 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'
2223import ' @opentiny/vue-theme-mobile/label/index.less'
2324
2425export 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 ,
3927 emits: [' click' ],
4028 setup(props , context ) {
4129 return setup ({ props , context , renderless , api })
You can’t perform that action at this time.
0 commit comments