mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-14 17:31:02 +08:00
20 lines
405 B
Vue
20 lines
405 B
Vue
<script setup lang="ts">
|
|
import { useSocialLinks } from '../../composables/social-links'
|
|
import VPSocialLink from './vp-social-link.vue'
|
|
|
|
const links = useSocialLinks()
|
|
</script>
|
|
|
|
<template>
|
|
<div class="social-links">
|
|
<VPSocialLink v-for="link in links" :key="link.text" v-bind="link" />
|
|
</div>
|
|
</template>
|
|
|
|
<style scoped lang="scss">
|
|
.social-links {
|
|
height: 24px;
|
|
padding: 0 12px;
|
|
}
|
|
</style>
|