kidsLayoutfunction
The layout of a sheet, to give kazoku-ui's printCss: its paper, its turn (the lineup lies on its side), large type for children and the language.
Import it
import { kidsLayout } from "@johnmorrisdotca/wakusei-planets/sheets";
Definition
function kidsLayout(id: KidsSheet, options?: KidsOptions): Partial<Layout>
Parameters
| Name | Type | Description |
|---|---|---|
id | "sun" | "mercury" | "venus" | "earth" | "mars" | "jupiter" | "saturn" | "uranus" | "neptune" | "pluto" | "moon" | "io" | "europa" | "ganymede" | "callisto" | "titan" | "triton" | "charon" | "lineup" | A body with a sheet, or |
options (optional) | KidsOptions | The paper and the language. |
Returns
Partial<Layout>
The layout.
Examples
import { kidsLayout } from "@johnmorrisdotca/wakusei-planets/sheets";
console.log(kidsLayout("lineup", { page: "letter" }));{
page: 'letter',
orientation: 'landscape',
type: 'kid',
language: 'en'
}What it prints (run when this page was built)