binhvan
Version:
19 lines (18 loc) • 581 B
TypeScript
import type { ChildDom } from "mini-van-plate/van-plate";
export interface BinhVanHeadProps {
/** @example { type: "image/svg+xml", href: "/favicon.svg" } */
favicon?: {
type: string;
href: string;
};
/** @default "Binh Van's Page" */
title: string;
base?: string;
description?: string;
canonicalUrl?: string;
manifestUrl?: string;
/** @default {} */
extraMetaMap: { [name: string]: string };
}
export type BinhVanComponentFn<T> = (props: T, ...rest: readonly ChildDom[]) => ChildDom;
export declare const BinhVanHead: BinhVanComponentFn<Partial<BinhVanHeadProps>>;