Bilibili-Evolved/registry/lib/components/style/custom-navbar/flexible-blank/flexible-blank.ts

12 lines
310 B
TypeScript

import type { CustomNavbarItemInit } from '../custom-navbar-item'
const count = 4
export const blanks: CustomNavbarItemInit[] = new Array(count).fill(0).map((_, index) => ({
name: `blank${index + 1}`,
displayName: `弹性空白${index + 1}`,
content: '',
disabled: true,
flexStyle: '1 0 auto',
}))