22 lines
381 B
Vue
22 lines
381 B
Vue
<script>
|
|
import { GlTruncate } from '@gitlab/ui';
|
|
|
|
export default {
|
|
components: {
|
|
GlTruncate,
|
|
},
|
|
props: {
|
|
path: {
|
|
type: String,
|
|
required: true,
|
|
},
|
|
},
|
|
};
|
|
</script>
|
|
|
|
<template>
|
|
<div class="file-row-header bg-white sticky-top p-2 js-file-row-header" :title="path">
|
|
<gl-truncate :text="path" position="middle" class="bold" />
|
|
</div>
|
|
</template>
|