UNPKG

binhvan

Version:
19 lines (18 loc) 597 B
import type { ChildDom, Van } from "mini-van-plate/van-plate"; import { type BinhVanHeadProps } from "./components"; export interface LBinhVanProps { /** @default "en" */ lang: string; /** @default [] */ cssImports: string[]; /** @default [] */ deferCssImports: string[]; /** @default [] */ moduleJsImports: string[]; /** @default {} */ headProps: Partial<BinhVanHeadProps>; /** @default [] */ headRest: ChildDom[]; } export type BinhVanLayoutFn<T> = (van: Van, props: T, ...rest: readonly ChildDom[]) => string; export declare const LBinhVan: BinhVanLayoutFn<Partial<LBinhVanProps>>;