TNavbarBrand / 导航栏品牌
NavbarBrand displays the logo and brand area inside a TNavbar. Supports image logo with configurable dimensions and click-to-hide-collapsed behavior. / 导航栏品牌在导航栏中展示 Logo 和品牌区域,支持图片 Logo、可配置尺寸和点击收起行为。
Props / 属性
| Prop | Type / 类型 | Default / 默认值 | Description / 说明 |
|---|---|---|---|
logo | string | — | Logo image URL |
logoWidth | number | 110 | Logo width |
logoHeight | number | 32 | Logo height |
href | string | '.' | Link URL |
Basic Usage / 基础用法
vue
<template>
<TNavbarBrand logo="/logo.svg" />
</template>