{"version":3,"file":"header.mjs","names":[],"sources":["../../../../../../packages/components/container/src/header.vue"],"sourcesContent":["<template>\n  <header :class=\"ns.b()\" :style=\"style\">\n    <slot />\n  </header>\n</template>\n\n<script lang=\"ts\" setup>\nimport { computed } from 'vue'\nimport { useNamespace } from '@element-plus/hooks'\n\nimport type { CSSProperties } from 'vue'\n\ninterface HeaderProps {\n  /**\n   * @description height of the header\n   */\n  height?: string | null\n}\n\ndefineOptions({\n  name: 'ElHeader',\n})\n\nconst props = withDefaults(defineProps<HeaderProps>(), {\n  height: null,\n})\n\nconst ns = useNamespace('header')\nconst style = computed(() => {\n  return props.height\n    ? (ns.cssVarBlock({\n        height: props.height,\n      }) as CSSProperties)\n    : {}\n})\n</script>\n"],"mappings":""}