Refactor #3965 - data-pc-name added

This commit is contained in:
Tuğçe Küçükoğlu 2023-05-29 12:19:55 +03:00
parent 2cf86162a6
commit 34a3b7ead0
45 changed files with 48 additions and 48 deletions

View file

@ -1,5 +1,5 @@
<template>
<div :class="cx('root')" :aria-labelledby="ariaLabelledby" :aria-label="ariaLabel" v-bind="ptm('root')">
<div :class="cx('root')" :aria-labelledby="ariaLabelledby" :aria-label="ariaLabel" v-bind="ptm('root')" data-pc-name="avatar">
<slot>
<span v-if="label" :class="cx('label')" v-bind="ptm('label')">{{ label }}</span>
<component v-else-if="$slots.icon" :is="$slots.icon" :class="cx('icon')" v-bind="ptm('icon')" />