Chamilo is a learning management system focused on ease of use and accessibility
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
chamilo-lms/assets/vue/components/basecomponents/ButtonToolbar.vue

30 lines
522 B

<template>
<Toolbar :class="toolbarClass">
<template #start>
<div class="flex flex-wrap">
<slot></slot>
</div>
</template>
</Toolbar>
</template>
<script setup>
import Toolbar from "primevue/toolbar";
import { computed } from "vue";
const props = defineProps({
showTopBorder: {
type: Boolean,
default: false,
},
});
const toolbarClass = computed(() => {
if (props.showTopBorder) {
return "pt-5 border-t border-b";
}
return "";
});
</script>
<style scoped></style>