--- export interface Props { children: any; } import '../styles/global.css'; import '../styles/theme.css'; import 'github-markdown-css/github-markdown-light.css'; import { Menu, MenuItem } from '../apps/menu'; export interface Props { title?: string; description?: string; lang?: string; charset?: string; showMenu?: boolean; menu?: MenuItem[]; basename?: string; } const { title = 'Light Code', description = 'A lightweight code editor', lang = 'zh-CN', charset = 'UTF-8', showMenu = true, menu, basename = '', } = Astro.props; --- {title}
{ showMenu && ( ) }