<template>
    <div class="ht-base-switch-text-demo">
        <ht-base-switch>
            <span slot="open">开</span>
            <span slot="close">关</span>
        </ht-base-switch>
        <ht-base-switch>
            <ht-base-icon type='LiRa_check2' slot="open" />
            <ht-base-icon type='LiRa_cross' slot="close" />
        </ht-base-switch>
        <br><br>
        <ht-base-switch size="large" bgattributes>
            <span slot="open">开启</span>
            <span slot="close">关闭</span>
        </ht-base-switch>
        <ht-base-switch size="large">
            <span slot="open">ON</span>
            <span slot="close">OFF</span>
        </ht-base-switch>
    </div>
</template>

<script>
    export default {
        name: 'HtBaseSwitchTextDemo',
    }
</script>
<style>
    .ht-base-switch-text-demo {

    }
</style>