<template>
    <p :class="[$style.mediumFont,inline&&$style.inline]">
        <slot/>
    </p>
</template>

<script>
    export default {
        name: "MediumFont",
        props:{
            inline:{
                type:Boolean
            }
        }
    }
</script>

<style module lang="scss">
    @import '../../cssInjection/cssFunction.scss';
    @import '../../cssInjection/cssLayout.scss';

    .mediumFont {
        font-family: 'PingFangBold'!important;
        font-weight: 400;
        &.inline{
            display: inline-block;
        }
    }
</style>