mirror of
https://github.com/element-plus/element-plus.git
synced 2026-03-13 07:51:17 +08:00
19 lines
306 B
Vue
19 lines
306 B
Vue
<template>
|
|
<header class="el-header" :style="{ height }">
|
|
<slot></slot>
|
|
</header>
|
|
</template>
|
|
<script lang="ts">
|
|
import { defineComponent } from 'vue'
|
|
|
|
export default defineComponent({
|
|
name: 'ElHeader',
|
|
props: {
|
|
height: {
|
|
type: String,
|
|
default: '60px',
|
|
},
|
|
},
|
|
})
|
|
</script>
|