Bilibili-Evolved/registry/lib/components/style/hide/banner/index.ts
2022-07-30 23:59:09 +08:00

20 lines
471 B
TypeScript

import { defineComponentMetadata } from '@/components/define'
import { mainSiteUrls } from '@/core/utils/urls'
export const component = defineComponentMetadata({
name: 'hideBanner',
entry: none,
displayName: '隐藏顶部横幅',
instantStyles: [
{
name: 'hideBanner',
style: () => import('./banner.scss'),
},
],
tags: [componentsTags.style],
description: {
'zh-CN': '隐藏首页顶部横幅.',
},
urlInclude: mainSiteUrls,
})